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.0009477/0.0009477, 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.001029/0.001029, 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.9467/0.9467, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.773e-06/1.773e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.701e-05, allocations: 2.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004096/0.004113, allocations: 4.597 MB / 256.2 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.006181, allocations: 1.291 MB / 257.5 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.006404, allocations: 15.94 kB / 257.5 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.006624, allocations: 118.7 kB / 257.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.006969, allocations: 261.6 kB / 257.9 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.007467, allocations: 299.4 kB / 258.2 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.008167, allocations: 1.083 MB / 259.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.008402, allocations: 192.8 kB / 259.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.008885, allocations: 0.577 MB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.009241, allocations: 374.9 kB / 260.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.009336, allocations: 92 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.009524, allocations: 135.9 kB / 260.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.009647, allocations: 207.3 kB / 260.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.00986, allocations: 323.2 kB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.01045, allocations: 0.7357 MB / 261.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01045, allocations: 4 kB / 261.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01045, allocations: 0 / 261.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01046, allocations: 0 / 261.8 MB, free: 12.88 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.001315/0.01177, allocations: 1.122 MB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.0118, allocations: 11.98 kB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01192, allocations: 108.8 kB / 263.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.01225, allocations: 319.3 kB / 263.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.01228, allocations: 45.67 kB / 263.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.01235, allocations: 68.36 kB / 263.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.01291, allocations: 0.5859 MB / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01293, allocations: 192 / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.01297, allocations: 24.38 kB / 264.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.01298, allocations: 19.94 kB / 264.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.01331, allocations: 242.2 kB / 264.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.01523, allocations: 1.46 MB / 265.8 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.01561, allocations: 293.8 kB / 266.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.01576, allocations: 138.8 kB / 266.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.01581, allocations: 16.64 kB / 266.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.01614, allocations: 465.3 kB / 266.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.603e-06/0.01615, allocations: 0 / 266.7 MB, free: 7.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.002796/0.01894, allocations: 1.532 MB / 268.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.019, allocations: 145.2 kB / 268.4 MB, free: 6.027 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.01923, allocations: 399.2 kB / 268.8 MB, free: 5.625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.01927, allocations: 41.7 kB / 268.8 MB, free: 5.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01938, allocations: 270.1 kB / 269.1 MB, free: 5.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.01951, allocations: 245.9 kB / 269.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01964, allocations: 126.6 kB / 269.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.01975, allocations: 382.6 kB / 269.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.0199, allocations: 145.4 kB / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.02012, allocations: 341.3 kB / 270.3 MB, free: 3.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.02062, allocations: 0.5778 MB / 270.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02063, allocations: 4 kB / 270.9 MB, free: 3.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008617/0.02149, allocations: 0.6855 MB / 271.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.02153, allocations: 63.41 kB / 271.6 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.02153, allocations: 4.25 kB / 271.6 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/0.0244, allocations: 1.001 MB / 272.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.02469, allocations: 115.9 kB / 272.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.02648, allocations: 2.91 MB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.02672, allocations: 47.97 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.02675, allocations: 19.98 kB / 275.7 MB, free: 14.32 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.000183/0.02694, allocations: 150.3 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.02701, allocations: 67.88 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.0278, allocations: 0.5913 MB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.0278, allocations: 8 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.02781, allocations: 0 / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02781, allocations: 3.984 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.02817, allocations: 358.2 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.02817, allocations: 0 / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.02841, allocations: 91.94 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.03086, allocations: 0.9855 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.0309, allocations: 27.97 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.03259, allocations: 2.908 MB / 280.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.03259, allocations: 0 / 280.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.03352, allocations: 0.7049 MB / 281.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.03356, allocations: 51.58 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.03364, allocations: 19.98 kB / 281.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.03385, allocations: 39.97 kB / 281.7 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.03397, allocations: 76.53 kB / 281.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.034, allocations: 19.97 kB / 281.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.03412, allocations: 176.4 kB / 282 MB, free: 7.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03412, allocations: 0 / 282 MB, free: 7.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004449/0.03456, allocations: 203.9 kB / 282.2 MB, free: 7.645 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.03472, allocations: 123.6 kB / 282.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008514/0.03557, allocations: 0.7496 MB / 283.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.03558, allocations: 8 kB / 283.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.03601, allocations: 428.3 kB / 283.5 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.03632, allocations: 147.8 kB / 283.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.03782, allocations: 1.211 MB / 284.8 MB, free: 4.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.316e-05/0.0379, allocations: 147 kB / 285 MB, free: 4.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.03806, allocations: 64.69 kB / 285 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.03834, allocations: 181.2 kB / 285.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03834, allocations: 0 / 285.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of Templates: time 0.01422/0.05256, allocations: 12.99 MB / 298.2 MB, free: 7.504 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 -s gbode -gbm=radauIIA3 -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.9717755750752985]