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.0007541/0.0007541, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001769, 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.0008886/0.0008886, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008799/0.001768, 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.9312/0.9312, allocations: 158.6 MB / 171.1 MB, free: 2.566 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.092, allocations: 49.48 MB / 220.5 MB, free: 1.449 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 4.338e-06/4.338e-06, allocations: 7.984 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.662e-05, allocations: 6.25 kB / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006261/0.006298, allocations: 4.6 MB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.009791, allocations: 1.307 MB / 227.8 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/0.01046, allocations: 11.94 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.01077, allocations: 118.8 kB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.01148, allocations: 265.6 kB / 228.1 MB, free: 9.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.01226, allocations: 299.4 kB / 228.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01366, allocations: 1.071 MB / 229.5 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.01402, allocations: 192.8 kB / 229.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.01526, allocations: 0.6695 MB / 230.4 MB, free: 7.566 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.01591, allocations: 371 kB / 230.7 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.01613, allocations: 96 kB / 230.8 MB, free: 7.109 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.01658, allocations: 131.9 kB / 231 MB, free: 6.98 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.01672, allocations: 151.5 kB / 231.1 MB, free: 6.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.01705, allocations: 259.5 kB / 231.4 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.01799, allocations: 0.6384 MB / 232 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-05/0.01802, allocations: 0 / 232 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.01802, allocations: 0 / 232 MB, free: 5.938 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.01807, allocations: 0 / 232 MB, free: 5.938 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.002371/0.02044, allocations: 1.286 MB / 233.3 MB, free: 4.609 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.02049, allocations: 16.02 kB / 233.3 MB, free: 4.594 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.0207, allocations: 104.8 kB / 233.4 MB, free: 4.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.02125, allocations: 315.4 kB / 233.7 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.0213, allocations: 45.69 kB / 233.7 MB, free: 4.113 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.02141, allocations: 68.36 kB / 233.8 MB, free: 4.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.02253, allocations: 0.582 MB / 234.4 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.02255, allocations: 4.125 kB / 234.4 MB, free: 3.418 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.02261, allocations: 28.38 kB / 234.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.02262, allocations: 15.94 kB / 234.4 MB, free: 3.375 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.02311, allocations: 246.2 kB / 234.7 MB, free: 3.133 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.02608, allocations: 1.452 MB / 236.1 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.02665, allocations: 301.6 kB / 236.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.0269, allocations: 142.8 kB / 236.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.02697, allocations: 20.64 kB / 236.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.02751, allocations: 461.3 kB / 237 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 3.296e-06/0.02751, allocations: 0 / 237 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of matching and sorting (n=69): time 0.003866/0.03138, allocations: 1.54 MB / 238.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.03141, allocations: 64.06 kB / 238.6 MB, free: 15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.03164, allocations: 395.3 kB / 239 MB, free: 14.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.03168, allocations: 45.7 kB / 239.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.0318, allocations: 274.1 kB / 239.3 MB, free: 14.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.03192, allocations: 245.9 kB / 239.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.03204, allocations: 122.6 kB / 239.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.03214, allocations: 374.6 kB / 240.1 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.03229, allocations: 149.4 kB / 240.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.03253, allocations: 353.2 kB / 240.6 MB, free: 12.97 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.03301, allocations: 0.5661 MB / 241.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.03302, allocations: 4 kB / 241.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008328/0.03385, allocations: 0.6935 MB / 241.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.0339, allocations: 71.42 kB / 241.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.03391, allocations: 4 kB / 241.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.0365, allocations: 1.08 MB / 243 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.03682, allocations: 131.8 kB / 243.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.03853, allocations: 2.898 MB / 246 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.03877, allocations: 47.95 kB / 246 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.0388, allocations: 16 kB / 246.1 MB, free: 7.191 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.0001902/0.03899, allocations: 168.7 kB / 246.2 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.03905, allocations: 71.86 kB / 246.3 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.03982, allocations: 0.5874 MB / 246.9 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.03983, allocations: 8 kB / 246.9 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.03983, allocations: 4 kB / 246.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.03984, allocations: 3.984 kB / 246.9 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.04019, allocations: 354.2 kB / 247.2 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.0402, allocations: 3.984 kB / 247.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.04044, allocations: 99.86 kB / 247.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.04049, allocations: 55.52 kB / 247.4 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.04277, allocations: 0.9777 MB / 248.4 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.0428, allocations: 19.98 kB / 248.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.04457, allocations: 2.912 MB / 251.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.04457, allocations: 0 / 251.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.04548, allocations: 0.7088 MB / 252 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.04554, allocations: 19.94 kB / 252 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.04575, allocations: 51.95 kB / 252.1 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.04586, allocations: 68.53 kB / 252.2 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.04589, allocations: 19.97 kB / 252.2 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.04601, allocations: 176.4 kB / 252.4 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04601, allocations: 0 / 252.4 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.04644, allocations: 203.9 kB / 252.5 MB, free: 500 kB / 250.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.0002035/0.04664, allocations: 122.2 kB / 252.7 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.04747, allocations: 0.75 MB / 253.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.34e-05/0.04749, allocations: 15.94 kB / 253.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.04792, allocations: 428 kB / 253.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.04826, allocations: 193.8 kB / 254 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.05333, allocations: 1.258 MB / 255.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.05344, allocations: 151 kB / 255.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.05367, allocations: 60.72 kB / 255.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.05406, allocations: 193.2 kB / 255.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.05406, allocations: 0 / 255.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Templates: time 0.01802/0.07208, allocations: 13.47 MB / 269.2 MB, free: 15.75 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: 2.9868283485993743]