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.00102/0.00102, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001076/0.001076, allocations: 163.1 kB / 25.69 MB, free: 8.418 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.9528/0.9528, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.783e-06/1.783e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.832e-05, allocations: 6.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004654/0.004682, allocations: 4.601 MB / 256.2 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.007256, allocations: 1.291 MB / 257.5 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.007635, allocations: 15.94 kB / 257.5 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.007886, allocations: 118.7 kB / 257.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.008336, allocations: 261.6 kB / 257.9 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.008965, allocations: 299.4 kB / 258.2 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.01005, allocations: 1.087 MB / 259.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.01036, allocations: 188.8 kB / 259.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/0.0111, allocations: 0.5847 MB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.01153, allocations: 375 kB / 260.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.01165, allocations: 96 kB / 260.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.01187, allocations: 127.9 kB / 260.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01199, allocations: 207.2 kB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.01224, allocations: 323.2 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.01298, allocations: 0.7397 MB / 261.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01299, allocations: 0 / 261.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01299, allocations: 0 / 261.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.013, allocations: 4 kB / 261.9 MB, free: 12.86 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.001432/0.01443, allocations: 1.11 MB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01447, allocations: 19.97 kB / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.01464, allocations: 108.8 kB / 263.1 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.0151, allocations: 315.4 kB / 263.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.01513, allocations: 45.69 kB / 263.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.01521, allocations: 64.36 kB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.01582, allocations: 0.5898 MB / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01584, allocations: 192 / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.01588, allocations: 28.38 kB / 264.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.0159, allocations: 15.94 kB / 264.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.01625, allocations: 246.2 kB / 264.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.01838, allocations: 1.444 MB / 265.8 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.01878, allocations: 293.8 kB / 266.1 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.01896, allocations: 142.7 kB / 266.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.01901, allocations: 16.64 kB / 266.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003874/0.01939, allocations: 457.3 kB / 266.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.963e-06/0.0194, allocations: 0 / 266.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.002928/0.02232, allocations: 1.536 MB / 268.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.02238, allocations: 137.2 kB / 268.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.02262, allocations: 403.2 kB / 268.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.02267, allocations: 41.7 kB / 268.8 MB, free: 5.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.02279, allocations: 270.1 kB / 269.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.02293, allocations: 249.8 kB / 269.3 MB, free: 5.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.02307, allocations: 126.5 kB / 269.5 MB, free: 4.938 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.02317, allocations: 378.6 kB / 269.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.02333, allocations: 141.4 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.02356, allocations: 345.3 kB / 270.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.02409, allocations: 0.5817 MB / 270.9 MB, free: 3.371 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02409, allocations: 0 / 270.9 MB, free: 3.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00095/0.02504, allocations: 0.705 MB / 271.6 MB, free: 2.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.0251, allocations: 59.66 kB / 271.6 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.02511, allocations: 11.98 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.02796, allocations: 1.001 MB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.0283, allocations: 119.8 kB / 272.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.03009, allocations: 2.709 MB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.03041, allocations: 51.95 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.03044, allocations: 19.98 kB / 275.6 MB, free: 14.5 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.00025/0.03069, allocations: 158.2 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.03078, allocations: 68.05 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008444/0.03163, allocations: 0.5913 MB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.03163, allocations: 11.94 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.03164, allocations: 0 / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.03164, allocations: 7.984 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.0321, allocations: 354.2 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.0321, allocations: 4 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.03236, allocations: 99.69 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002499/0.03486, allocations: 0.9738 MB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.03491, allocations: 19.97 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.03674, allocations: 2.74 MB / 280.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.03675, allocations: 3.938 kB / 280.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.03772, allocations: 0.701 MB / 281.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.0378, allocations: 51.58 kB / 281.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.03786, allocations: 23.94 kB / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.03807, allocations: 39.97 kB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.03819, allocations: 76.52 kB / 281.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.03822, allocations: 15.98 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.03835, allocations: 180.4 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03835, allocations: 0 / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004663/0.03882, allocations: 204 kB / 281.9 MB, free: 7.984 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.0001716/0.03899, allocations: 116.2 kB / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008615/0.03985, allocations: 0.7417 MB / 282.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.03986, allocations: 4 kB / 282.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.04032, allocations: 420.5 kB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.04069, allocations: 137.9 kB / 283.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.04243, allocations: 1.2 MB / 284.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.04253, allocations: 155 kB / 284.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.04272, allocations: 64.69 kB / 284.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.043, allocations: 181.2 kB / 284.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.043, allocations: 0 / 284.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of Templates: time 0.01646/0.05946, allocations: 12.94 MB / 297.8 MB, free: 7.926 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 -s gbode -gbm=radauIIA3 -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.991775678936392]