Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.001007/0.001007, 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.001769/0.001769, allocations: 172.8 kB / 26.39 MB, free: 8 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.042/1.042, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.024e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006659/0.006689, allocations: 4.542 MB / 256.8 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.01004, allocations: 1.252 MB / 258.1 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.01054, allocations: 11.94 kB / 258.1 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.0108, allocations: 114.8 kB / 258.2 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.01122, allocations: 261.6 kB / 258.4 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.01189, allocations: 311.4 kB / 258.7 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.01272, allocations: 1.087 MB / 259.8 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.01298, allocations: 174.8 kB / 260 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005234/0.0135, allocations: 0.5886 MB / 260.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.01391, allocations: 371 kB / 261 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.01402, allocations: 92 kB / 261 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.01421, allocations: 132 kB / 261.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.01433, allocations: 207.2 kB / 261.4 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.01457, allocations: 319.3 kB / 261.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000752/0.01533, allocations: 0.7318 MB / 262.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.01533, allocations: 8 kB / 262.4 MB, free: 13.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.01533, allocations: 0 / 262.4 MB, free: 13.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.01535, allocations: 0 / 262.4 MB, free: 13.01 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.001569/0.01692, allocations: 1.247 MB / 263.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01696, allocations: 15.98 kB / 263.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.01713, allocations: 140.4 kB / 263.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.01755, allocations: 414 kB / 264.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.01759, allocations: 45.69 kB / 264.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.01769, allocations: 64.38 kB / 264.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.01868, allocations: 0.5703 MB / 264.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.0187, allocations: 4.188 kB / 264.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.01875, allocations: 28.38 kB / 264.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01876, allocations: 15.94 kB / 265 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.01914, allocations: 286.1 kB / 265.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.02164, allocations: 1.793 MB / 267 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.02212, allocations: 326.4 kB / 267.3 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.02231, allocations: 169.5 kB / 267.5 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.02236, allocations: 16.64 kB / 267.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.02279, allocations: 470.3 kB / 268 MB, free: 7.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.345e-06/0.02279, allocations: 0 / 268 MB, free: 7.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.003426/0.02622, allocations: 1.705 MB / 269.7 MB, free: 5.434 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.02628, allocations: 141.2 kB / 269.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.02658, allocations: 458.5 kB / 270.3 MB, free: 4.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.02662, allocations: 41.7 kB / 270.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.02681, allocations: 383.5 kB / 270.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.02695, allocations: 245.8 kB / 270.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.0271, allocations: 136.2 kB / 271.1 MB, free: 3.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004508/0.02755, allocations: 0.5467 MB / 271.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.02773, allocations: 165.3 kB / 271.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.028, allocations: 403.2 kB / 272.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.02861, allocations: 0.6107 MB / 272.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02861, allocations: 0 / 272.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001158/0.02977, allocations: 0.8651 MB / 273.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.02982, allocations: 67.39 kB / 273.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02983, allocations: 0 / 273.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.03277, allocations: 1.041 MB / 274.8 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.03307, allocations: 111.9 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.03585, allocations: 3.88 MB / 278.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.03627, allocations: 55.97 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.03631, allocations: 27.98 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Voltage drop of the two pins (= p.v - n.v)\" type: Real T1.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" type: Real T2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) \"Base-collector voltage\" 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.0002995/0.03661, allocations: 216.7 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.03671, allocations: 83.62 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.03771, allocations: 0.7166 MB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.03772, allocations: 4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03772, allocations: 4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.03773, allocations: 3.984 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.03818, allocations: 397.4 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03818, allocations: 4 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.0384, allocations: 75.88 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.0411, allocations: 1.025 MB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.04115, allocations: 27.97 kB / 281.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.04331, allocations: 3.892 MB / 285.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.04331, allocations: 0 / 285.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.04486, allocations: 0.8644 MB / 286.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.04495, allocations: 59.56 kB / 286.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.04502, allocations: 23.94 kB / 286.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.04526, allocations: 43.97 kB / 286.2 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.04538, allocations: 68.52 kB / 286.3 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.04542, allocations: 19.98 kB / 286.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.04558, allocations: 294.7 kB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04558, allocations: 0 / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005377/0.04612, allocations: 208 kB / 286.8 MB, free: 3.539 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,C2.v,T1.vbc,T2.vbc) * 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.0002123/0.04633, allocations: 139.2 kB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.04734, allocations: 0.8261 MB / 287.8 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.04734, allocations: 0 / 287.8 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.04789, allocations: 498 kB / 288.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.04832, allocations: 135.2 kB / 288.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.05025, allocations: 1.288 MB / 289.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.05037, allocations: 147 kB / 289.8 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.05055, allocations: 60.72 kB / 289.9 MB, free: 328 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.05085, allocations: 226.1 kB / 290.1 MB, free: 100 kB / 266.7 MB Notification: Performance of SimCode: time 1.724e-06/0.05085, allocations: 0 / 290.1 MB, free: 100 kB / 266.7 MB Notification: Performance of Templates: time 0.01727/0.06812, allocations: 13.53 MB / 303.6 MB, free: 2.578 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.2731199436821043]