Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.0009258/0.0009258, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002283, allocations: 453.8 kB / 10.46 MB, free: 236 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.00092/0.00092, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.00224, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9614/0.9614, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1699/1.131, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.021e-05, allocations: 2.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00647/0.0065, allocations: 4.608 MB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.00959, allocations: 1.311 MB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.009957, allocations: 15.88 kB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.01023, allocations: 110.8 kB / 228 MB, free: 9.957 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.01083, allocations: 265.6 kB / 228.3 MB, free: 9.695 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.0117, allocations: 303.4 kB / 228.6 MB, free: 9.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.01304, allocations: 1.071 MB / 229.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.01342, allocations: 188.8 kB / 229.9 MB, free: 8.125 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.01451, allocations: 0.6695 MB / 230.5 MB, free: 7.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.01516, allocations: 371 kB / 230.9 MB, free: 7.086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.01534, allocations: 99.94 kB / 231 MB, free: 6.988 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.01563, allocations: 131.9 kB / 231.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.01586, allocations: 147.5 kB / 231.3 MB, free: 6.715 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.01618, allocations: 259.5 kB / 231.5 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000891/0.01707, allocations: 0.6385 MB / 232.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.836e-05/0.01709, allocations: 0 / 232.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.01709, allocations: 0 / 232.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.01712, allocations: 0 / 232.2 MB, free: 5.82 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.002568/0.01968, allocations: 1.29 MB / 233.4 MB, free: 4.488 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.01974, allocations: 8.031 kB / 233.4 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.01996, allocations: 108.8 kB / 233.6 MB, free: 4.375 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.02049, allocations: 319.4 kB / 233.9 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.02054, allocations: 49.67 kB / 233.9 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.02065, allocations: 64.38 kB / 234 MB, free: 3.926 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.02158, allocations: 0.582 MB / 234.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.0216, allocations: 192 / 234.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.02166, allocations: 24.38 kB / 234.6 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.02168, allocations: 19.94 kB / 234.6 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.02216, allocations: 246.2 kB / 234.8 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.02505, allocations: 1.452 MB / 236.3 MB, free: 1.512 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.02588, allocations: 301.6 kB / 236.6 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.02612, allocations: 146.8 kB / 236.7 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.02618, allocations: 20.64 kB / 236.8 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005277/0.02671, allocations: 457.3 kB / 237.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 3.286e-06/0.02671, allocations: 0 / 237.2 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of matching and sorting (n=69): time 0.005696/0.03241, allocations: 2.099 MB / 239.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.03246, allocations: 68.05 kB / 239.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.03282, allocations: 403.2 kB / 239.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.03288, allocations: 41.64 kB / 239.8 MB, free: 13.85 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.03304, allocations: 270.1 kB / 240.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.03322, allocations: 241.9 kB / 240.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.03342, allocations: 130.6 kB / 240.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.03356, allocations: 374.6 kB / 240.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.03379, allocations: 145.4 kB / 240.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.03411, allocations: 345.3 kB / 241.3 MB, free: 12.28 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.03488, allocations: 0.5817 MB / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.03488, allocations: 0 / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001288/0.03617, allocations: 0.6971 MB / 242.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.03623, allocations: 67.39 kB / 242.6 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.03624, allocations: 0 / 242.6 MB, free: 10.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/0.04035, allocations: 1.005 MB / 243.6 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.0408, allocations: 135.8 kB / 243.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.04337, allocations: 2.89 MB / 246.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.04379, allocations: 51.97 kB / 246.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.04385, allocations: 23.98 kB / 246.7 MB, free: 6.574 MB / 250.7 MB Warning: Assuming fixed start value for the following 3 variables: C1.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real C2.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real C3.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" 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.0003266/0.04417, allocations: 164.4 kB / 246.9 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.04429, allocations: 71.86 kB / 247 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.0455, allocations: 0.5874 MB / 247.5 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.04551, allocations: 8 kB / 247.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.04552, allocations: 7.984 kB / 247.6 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.04553, allocations: 0 / 247.6 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.04609, allocations: 358.2 kB / 247.9 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.04609, allocations: 0 / 247.9 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.04648, allocations: 95.86 kB / 248 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.04655, allocations: 55.52 kB / 248.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003705/0.05026, allocations: 0.992 MB / 249 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.05032, allocations: 19.97 kB / 249.1 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.05308, allocations: 2.913 MB / 252 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.05308, allocations: 112 / 252 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.05445, allocations: 0.7165 MB / 252.7 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.878e-05/0.05454, allocations: 23.98 kB / 252.7 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.05487, allocations: 39.97 kB / 252.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.05504, allocations: 64.53 kB / 252.8 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.05508, allocations: 23.97 kB / 252.8 MB, free: 244 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001976/0.05528, allocations: 180.4 kB / 253 MB, free: 64 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05528, allocations: 0 / 253 MB, free: 64 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006943/0.05598, allocations: 200 kB / 253.2 MB, free: 15.86 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,C1.v,C2.v,C3.v) * 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.0002299/0.05621, allocations: 122.2 kB / 253.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.05742, allocations: 0.7587 MB / 254.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-05/0.05744, allocations: 15.94 kB / 254.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.05824, allocations: 473.3 kB / 254.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.05934, allocations: 1.219 MB / 255.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.06605, allocations: 1.255 MB / 257 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.0662, allocations: 159.1 kB / 257.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.06646, allocations: 56.88 kB / 257.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/0.06687, allocations: 197.2 kB / 257.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.06687, allocations: 4 kB / 257.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.02318/0.09005, allocations: 13.88 MB / 271.3 MB, free: 13.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2444235207512975]