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.001473/0.001473, allocations: 85.08 kB / 23 MB, free: 1.504 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.001472/0.001472, allocations: 173.2 kB / 26.39 MB, free: 8.148 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 1.018/1.018, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.302e-06/1.302e-06, allocations: 3.938 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.701e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004047/0.004064, allocations: 4.534 MB / 256.8 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.005623, allocations: 1.249 MB / 258.1 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.005827, allocations: 11.94 kB / 258.1 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.006068, allocations: 118.8 kB / 258.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.006373, allocations: 261.6 kB / 258.4 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.006823, allocations: 303.4 kB / 258.7 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.007501, allocations: 1.083 MB / 259.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.007722, allocations: 178.8 kB / 260 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.008149, allocations: 0.5886 MB / 260.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.008463, allocations: 371 kB / 260.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.008551, allocations: 92 kB / 261 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.008717, allocations: 135.9 kB / 261.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.008834, allocations: 203.3 kB / 261.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.00905, allocations: 319.3 kB / 261.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.009595, allocations: 0.7318 MB / 262.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.009597, allocations: 0 / 262.4 MB, free: 13.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009598, allocations: 7.938 kB / 262.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.009606, allocations: 4 kB / 262.4 MB, free: 13.02 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.001396/0.011, allocations: 1.247 MB / 263.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01104, allocations: 15.98 kB / 263.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.0112, allocations: 144.4 kB / 263.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.01158, allocations: 414 kB / 264.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.01161, allocations: 45.69 kB / 264.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.01169, allocations: 60.38 kB / 264.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.0123, allocations: 0.5742 MB / 264.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01231, allocations: 4.188 kB / 264.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.01236, allocations: 28.38 kB / 264.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01237, allocations: 15.94 kB / 264.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.01276, allocations: 290.1 kB / 265.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.01486, allocations: 1.797 MB / 267 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.01527, allocations: 330.4 kB / 267.4 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.01545, allocations: 165.5 kB / 267.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.01549, allocations: 20.64 kB / 267.5 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.01586, allocations: 466.3 kB / 268 MB, free: 7.184 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.903e-06/0.01586, allocations: 0 / 268 MB, free: 7.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.002988/0.01884, allocations: 1.709 MB / 269.7 MB, free: 5.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.0189, allocations: 141.2 kB / 269.8 MB, free: 5.258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01917, allocations: 454.5 kB / 270.3 MB, free: 4.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.01922, allocations: 41.7 kB / 270.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.0194, allocations: 379.5 kB / 270.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.01953, allocations: 245.9 kB / 270.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.01968, allocations: 132.2 kB / 271.1 MB, free: 3.988 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01985, allocations: 0.5506 MB / 271.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.02002, allocations: 169.3 kB / 271.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.02029, allocations: 399.2 kB / 272.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.02086, allocations: 0.6184 MB / 272.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.02087, allocations: 0 / 272.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001065/0.02193, allocations: 0.8573 MB / 273.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.02197, allocations: 63.39 kB / 273.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.02198, allocations: 0 / 273.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.02484, allocations: 1.041 MB / 274.7 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.02511, allocations: 111.9 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.02739, allocations: 4.172 MB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.02765, allocations: 43.95 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.0277, allocations: 31.98 kB / 279.1 MB, free: 11.54 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.0002172/0.02791, allocations: 201.1 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.028, allocations: 91.5 kB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.02893, allocations: 0.7128 MB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.02894, allocations: 4 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02894, allocations: 4 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.02895, allocations: 3.984 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.02931, allocations: 397.5 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02932, allocations: 0 / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.02953, allocations: 79.88 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.03225, allocations: 1.033 MB / 281.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.03229, allocations: 19.98 kB / 281.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.03459, allocations: 4.183 MB / 285.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03459, allocations: 0 / 285.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.03574, allocations: 0.8644 MB / 286.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.0358, allocations: 63.5 kB / 286.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.03587, allocations: 20 kB / 286.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.0361, allocations: 39.97 kB / 286.8 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.03621, allocations: 68.52 kB / 286.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.03625, allocations: 23.98 kB / 286.9 MB, free: 3.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.03642, allocations: 294.7 kB / 287.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03642, allocations: 0 / 287.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.03686, allocations: 211.9 kB / 287.4 MB, free: 2.977 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.000164/0.03702, allocations: 131.1 kB / 287.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.03796, allocations: 0.8417 MB / 288.4 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03797, allocations: 0 / 288.4 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.03852, allocations: 0.4941 MB / 288.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.03889, allocations: 142.1 kB / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.04046, allocations: 1.286 MB / 290.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.24e-05/0.04056, allocations: 143 kB / 290.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.04072, allocations: 60.7 kB / 290.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.04101, allocations: 222.1 kB / 290.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.04102, allocations: 4 kB / 290.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Templates: time 0.01513/0.05615, allocations: 13.59 MB / 304.3 MB, free: 1.93 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: 3.1269072350114584]