Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 170.7 kB / 25.69 MB, free: 8.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9252/0.9252, allocations: 158.6 MB / 187.6 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.443e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004381/0.004405, allocations: 4.561 MB / 256.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.006914, allocations: 1.295 MB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.00735, allocations: 11.94 kB / 257.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.007636, allocations: 118.7 kB / 257.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.008088, allocations: 261.6 kB / 257.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.008788, allocations: 303.4 kB / 258.1 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009599/0.009748, allocations: 1.087 MB / 259.2 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.01002, allocations: 184.8 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.01072, allocations: 0.5886 MB / 259.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.01116, allocations: 371 kB / 260.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.01128, allocations: 96 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.01149, allocations: 123.9 kB / 260.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.01161, allocations: 211.2 kB / 260.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.01186, allocations: 323.3 kB / 261 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000843/0.0127, allocations: 0.7319 MB / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01271, allocations: 0 / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01271, allocations: 0 / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.01273, allocations: 3.984 kB / 261.8 MB, free: 12.95 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001415/0.01415, allocations: 1.122 MB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.0142, allocations: 11.98 kB / 262.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.01436, allocations: 108.8 kB / 263 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.01472, allocations: 319.4 kB / 263.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.01475, allocations: 49.69 kB / 263.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.01483, allocations: 64.38 kB / 263.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.01538, allocations: 0.5898 MB / 264 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.01539, allocations: 192 / 264 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.01543, allocations: 20.38 kB / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01544, allocations: 19.94 kB / 264.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.01577, allocations: 242.2 kB / 264.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.01774, allocations: 1.452 MB / 265.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.01812, allocations: 285.9 kB / 266 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.01827, allocations: 142.8 kB / 266.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.01831, allocations: 16.59 kB / 266.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.01865, allocations: 469.2 kB / 266.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.01866, allocations: 0 / 266.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.002792/0.02145, allocations: 1.528 MB / 268.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.02151, allocations: 141.2 kB / 268.3 MB, free: 6.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.02175, allocations: 399.3 kB / 268.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.0218, allocations: 41.69 kB / 268.7 MB, free: 5.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.02192, allocations: 274.1 kB / 269 MB, free: 5.398 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.02205, allocations: 241.9 kB / 269.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.02218, allocations: 134.5 kB / 269.4 MB, free: 5.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.0223, allocations: 378.6 kB / 269.7 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.02245, allocations: 145.4 kB / 269.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.02267, allocations: 337.3 kB / 270.2 MB, free: 4.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.02318, allocations: 0.5817 MB / 270.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02318, allocations: 0 / 270.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009005/0.02408, allocations: 0.7048 MB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.02413, allocations: 63.41 kB / 271.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.02414, allocations: 8.25 kB / 271.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.02668, allocations: 0.9933 MB / 272.6 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.02693, allocations: 111.8 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.02854, allocations: 2.705 MB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.02883, allocations: 47.97 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.02886, allocations: 27.98 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real T1.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" type: Real T2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.V2.signalSource.count,$PRE.V2.signalSource.T_start,$PRE.V1.signalSource.count,$PRE.V1.signalSource.T_start,V2.signalSource.count,V2.signalSource.T_start,V1.signalSource.count,V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.02908, allocations: 166.3 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.02915, allocations: 63.94 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.02993, allocations: 0.5914 MB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.02993, allocations: 11.94 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02994, allocations: 0 / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.02994, allocations: 3.984 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.03032, allocations: 354.2 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03032, allocations: 0 / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.03051, allocations: 79.94 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.0328, allocations: 0.9777 MB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.03284, allocations: 19.98 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.03431, allocations: 2.737 MB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03431, allocations: 0 / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.03519, allocations: 0.7087 MB / 281.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.03525, allocations: 51.58 kB / 281.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.03531, allocations: 15.98 kB / 281.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.0355, allocations: 47.91 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.03561, allocations: 76.52 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.03564, allocations: 15.98 kB / 281.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.03576, allocations: 176.4 kB / 281.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03576, allocations: 0 / 281.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.03615, allocations: 204 kB / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (HeatCapacitor1.T,C2.v,T1.vbc,T2.vbc) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001578/0.0363, allocations: 120.3 kB / 281.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.03706, allocations: 0.7383 MB / 282.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.03707, allocations: 4 kB / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.03747, allocations: 424 kB / 283 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.03778, allocations: 133.7 kB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.03938, allocations: 1.208 MB / 284.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.03947, allocations: 147.1 kB / 284.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.03962, allocations: 64.7 kB / 284.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.03989, allocations: 181.2 kB / 284.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03989, allocations: 0 / 284.7 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Templates: time 0.01425/0.05414, allocations: 12.89 MB / 297.6 MB, free: 8.102 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9011972956359386]