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.0008844/0.0008844, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002036, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007636/0.0007636, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009728/0.001736, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9113/0.9113, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1657/1.077, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.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.503e-06/1.503e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.16e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005091/0.005112, allocations: 4.624 MB / 226.5 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.006878, allocations: 1.295 MB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.007085, allocations: 15.94 kB / 227.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.007257, allocations: 118.7 kB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.007557, allocations: 261.6 kB / 228.2 MB, free: 9.812 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.007957, allocations: 307.4 kB / 228.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.008586, allocations: 1.075 MB / 229.5 MB, free: 8.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.008801, allocations: 180.9 kB / 229.7 MB, free: 8.238 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.009275, allocations: 0.6733 MB / 230.4 MB, free: 7.559 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.009563, allocations: 378.9 kB / 230.7 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.609e-05/0.00965, allocations: 96 kB / 230.8 MB, free: 7.094 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.009805, allocations: 131.9 kB / 231 MB, free: 6.965 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.009888, allocations: 143.5 kB / 231.1 MB, free: 6.824 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01007, allocations: 259.6 kB / 231.4 MB, free: 6.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.01057, allocations: 0.6384 MB / 232 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.01058, allocations: 0 / 232 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01058, allocations: 0 / 232 MB, free: 5.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.0106, allocations: 0 / 232 MB, free: 5.93 MB / 234.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.001339/0.01194, allocations: 1.294 MB / 233.3 MB, free: 4.594 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.01197, allocations: 12.03 kB / 233.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.01207, allocations: 104.8 kB / 233.4 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.0124, allocations: 311.4 kB / 233.7 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.01243, allocations: 49.67 kB / 233.8 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.0125, allocations: 68.36 kB / 233.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.01302, allocations: 0.582 MB / 234.4 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01304, allocations: 192 / 234.4 MB, free: 3.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.01307, allocations: 24.38 kB / 234.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.01308, allocations: 19.94 kB / 234.5 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.01337, allocations: 242.2 kB / 234.7 MB, free: 3.129 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.01505, allocations: 1.444 MB / 236.1 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.01541, allocations: 297.7 kB / 236.4 MB, free: 1.328 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.01556, allocations: 138.8 kB / 236.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.0156, allocations: 24.58 kB / 236.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.01593, allocations: 461.3 kB / 237 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 1.513e-06/0.01593, allocations: 0 / 237 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of matching and sorting (n=69): time 0.002605/0.01853, allocations: 1.54 MB / 238.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.01857, allocations: 64.06 kB / 238.6 MB, free: 15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01878, allocations: 399.2 kB / 239 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.01882, allocations: 45.7 kB / 239.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01892, allocations: 274.1 kB / 239.3 MB, free: 14.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01904, allocations: 245.9 kB / 239.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.01916, allocations: 118.6 kB / 239.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.01925, allocations: 378.6 kB / 240.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01939, allocations: 153.3 kB / 240.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.0196, allocations: 337.4 kB / 240.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.02007, allocations: 0.5816 MB / 241.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02007, allocations: 0 / 241.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000814/0.02088, allocations: 0.7052 MB / 241.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.02093, allocations: 67.39 kB / 241.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.02093, allocations: 0 / 241.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.02342, allocations: 1.092 MB / 243 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.02372, allocations: 131.8 kB / 243.1 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.02523, allocations: 2.709 MB / 245.8 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.02545, allocations: 47.97 kB / 245.9 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.02549, allocations: 23.98 kB / 245.9 MB, free: 7.359 MB / 250.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.0001765/0.02566, allocations: 162.3 kB / 246.1 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.02573, allocations: 63.94 kB / 246.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.02646, allocations: 0.5953 MB / 246.7 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02646, allocations: 11.88 kB / 246.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.02647, allocations: 4 kB / 246.7 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.02647, allocations: 3.984 kB / 246.7 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.02678, allocations: 350.2 kB / 247.1 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02678, allocations: 0 / 247.1 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.02702, allocations: 107.8 kB / 247.2 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.02706, allocations: 55.52 kB / 247.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.02923, allocations: 0.9816 MB / 248.2 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.02927, allocations: 19.97 kB / 248.2 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.03065, allocations: 2.738 MB / 251 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03065, allocations: 0 / 251 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.03149, allocations: 0.7049 MB / 251.7 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.03154, allocations: 15.94 kB / 251.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.03174, allocations: 51.95 kB / 251.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.03183, allocations: 64.53 kB / 251.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.03186, allocations: 27.97 kB / 251.8 MB, free: 1.199 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.03197, allocations: 176.4 kB / 252 MB, free: 1.027 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03197, allocations: 0 / 252 MB, free: 1.027 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.03226, allocations: 204 kB / 252.2 MB, free: 0.8281 MB / 250.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.0001384/0.0324, allocations: 122.2 kB / 252.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006705/0.03307, allocations: 0.7379 MB / 253.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.03309, allocations: 12.5 kB / 253.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.03345, allocations: 420 kB / 253.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.03375, allocations: 189.8 kB / 253.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.0376, allocations: 1.228 MB / 254.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.03768, allocations: 151.1 kB / 255 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.03781, allocations: 60.7 kB / 255.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.03806, allocations: 185.2 kB / 255.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03807, allocations: 0 / 255.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of Templates: time 0.0133/0.05136, allocations: 13.42 MB / 268.7 MB, free: 212 kB / 266.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 -ignoreHideResult -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.8722640490159392]