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.0009849/0.0009849, allocations: 76.81 kB / 22.28 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.000989/0.000989, allocations: 163.3 kB / 25.7 MB, free: 8.438 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.8908/0.8908, 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.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.172e-06/1.172e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.369e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003667/0.003681, allocations: 4.546 MB / 256.1 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.005643, allocations: 1.299 MB / 257.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.005863, allocations: 11.94 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.00607, allocations: 106.9 kB / 257.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.006406, allocations: 269.5 kB / 257.8 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.006909, allocations: 303.4 kB / 258.1 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.007663, allocations: 1.083 MB / 259.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.007886, allocations: 188.8 kB / 259.3 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.008393, allocations: 0.5847 MB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.008728, allocations: 371 kB / 260.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.008817, allocations: 95.94 kB / 260.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.008972, allocations: 135.9 kB / 260.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.00909, allocations: 203.3 kB / 260.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.009299, allocations: 319.3 kB / 261 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.009864, allocations: 0.7357 MB / 261.7 MB, free: 12.97 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.009866, allocations: 3.938 kB / 261.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009867, allocations: 0 / 261.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.009875, allocations: 4 kB / 261.8 MB, free: 12.96 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.001234/0.01111, allocations: 1.11 MB / 262.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.01114, allocations: 23.97 kB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.01126, allocations: 108.8 kB / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.01159, allocations: 315.4 kB / 263.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.01161, allocations: 45.69 kB / 263.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.01168, allocations: 68.36 kB / 263.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.01221, allocations: 0.582 MB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01222, allocations: 192 / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.01226, allocations: 32.38 kB / 264 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01227, allocations: 15.94 kB / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.01258, allocations: 242.2 kB / 264.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.01443, allocations: 1.456 MB / 265.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.01479, allocations: 301.8 kB / 266 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.01495, allocations: 142.8 kB / 266.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.01499, allocations: 16.64 kB / 266.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.01531, allocations: 457.2 kB / 266.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.563e-06/0.01532, allocations: 0 / 266.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.002969/0.01828, allocations: 1.532 MB / 268.2 MB, free: 6.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.01834, allocations: 145.1 kB / 268.3 MB, free: 6.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.01862, allocations: 399.2 kB / 268.7 MB, free: 5.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.01867, allocations: 41.7 kB / 268.7 MB, free: 5.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.01881, allocations: 274.1 kB / 269 MB, free: 5.398 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.01896, allocations: 237.9 kB / 269.2 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.01913, allocations: 134.5 kB / 269.4 MB, free: 5.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01924, allocations: 374.6 kB / 269.7 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.01943, allocations: 145.4 kB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.01971, allocations: 341.3 kB / 270.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.02038, allocations: 0.5778 MB / 270.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02038, allocations: 4 kB / 270.8 MB, free: 3.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001099/0.02148, allocations: 0.6971 MB / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.02152, allocations: 59.41 kB / 271.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02153, allocations: 4 kB / 271.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/0.02486, allocations: 0.9974 MB / 272.5 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.02518, allocations: 107.8 kB / 272.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.02735, allocations: 2.894 MB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.02767, allocations: 55.95 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.02771, allocations: 20.09 kB / 275.6 MB, free: 14.43 MB / 266.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.0002152/0.02792, allocations: 162.2 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.02802, allocations: 63.94 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.02902, allocations: 0.5952 MB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.02902, allocations: 8 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.02903, allocations: 0 / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.02904, allocations: 3.984 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.02948, allocations: 354.2 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.02949, allocations: 4 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.02975, allocations: 75.94 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/0.03285, allocations: 0.9777 MB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.03289, allocations: 23.92 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.03497, allocations: 2.919 MB / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03497, allocations: 0 / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.03614, allocations: 0.7048 MB / 281.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.0362, allocations: 51.58 kB / 281.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.03627, allocations: 16 kB / 281.6 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.03655, allocations: 43.95 kB / 281.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.03667, allocations: 72.53 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.03671, allocations: 19.98 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.03687, allocations: 176.5 kB / 281.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03687, allocations: 3.938 kB / 281.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005157/0.03738, allocations: 207.9 kB / 282.1 MB, free: 7.758 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.0001575/0.03754, allocations: 108.4 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.0385, allocations: 0.7616 MB / 282.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.03851, allocations: 8 kB / 283 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.03908, allocations: 428 kB / 283.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.03945, allocations: 135.6 kB / 283.5 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.04117, allocations: 1.211 MB / 284.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.934e-05/0.04127, allocations: 151 kB / 284.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.04145, allocations: 60.7 kB / 284.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.04179, allocations: 185.2 kB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.04179, allocations: 0 / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of Templates: time 0.01749/0.05928, allocations: 12.94 MB / 298 MB, free: 7.676 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 -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.7994053470902145]