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.001099/0.001099, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001764/0.001764, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.075/1.075, allocations: 158.6 MB / 187.5 MB, free: 2.812 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 3.467e-06/3.467e-06, allocations: 4 kB / 251.5 MB, free: 7.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.376e-05, allocations: 6.25 kB / 251.5 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005295/0.005319, allocations: 4.55 MB / 256 MB, free: 2.746 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.008001, allocations: 1.245 MB / 257.3 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.008497, allocations: 15.94 kB / 257.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.008808, allocations: 114.8 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.009467, allocations: 265.5 kB / 257.7 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.01032, allocations: 307.4 kB / 258 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.01168, allocations: 1.087 MB / 259.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.01206, allocations: 174.8 kB / 259.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009473/0.013, allocations: 0.5886 MB / 259.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.01362, allocations: 371 kB / 260.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.01386, allocations: 92 kB / 260.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.01414, allocations: 124 kB / 260.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.01431, allocations: 211.2 kB / 260.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.01471, allocations: 331.2 kB / 260.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000922/0.01563, allocations: 0.728 MB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01564, allocations: 0 / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01564, allocations: 0 / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.01565, allocations: 0 / 261.6 MB, free: 13.09 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.002062/0.01772, allocations: 1.251 MB / 262.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.01776, allocations: 11.98 kB / 262.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.01799, allocations: 144.4 kB / 263 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.01854, allocations: 410 kB / 263.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.01858, allocations: 45.69 kB / 263.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.01869, allocations: 64.36 kB / 263.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.01959, allocations: 0.5781 MB / 264.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.01961, allocations: 4.188 kB / 264.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.01967, allocations: 24.38 kB / 264.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.01969, allocations: 19.94 kB / 264.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.02029, allocations: 294 kB / 264.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.0236, allocations: 1.789 MB / 266.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.02425, allocations: 330.4 kB / 266.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.02454, allocations: 161.5 kB / 266.7 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.0246, allocations: 20.64 kB / 266.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.02516, allocations: 470.3 kB / 267.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.695e-06/0.02516, allocations: 4 kB / 267.2 MB, free: 7.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.004893/0.03006, allocations: 1.701 MB / 268.9 MB, free: 5.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.03015, allocations: 137.2 kB / 269.1 MB, free: 5.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.03058, allocations: 462.4 kB / 269.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.03064, allocations: 41.7 kB / 269.5 MB, free: 4.824 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.0309, allocations: 387.5 kB / 269.9 MB, free: 4.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.0311, allocations: 245.8 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.03133, allocations: 136.2 kB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.03153, allocations: 0.5467 MB / 270.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.03181, allocations: 161.3 kB / 271 MB, free: 3.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.03223, allocations: 403.2 kB / 271.4 MB, free: 2.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.03314, allocations: 0.6224 MB / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.03315, allocations: 0 / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00174/0.03489, allocations: 0.8612 MB / 272.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.03496, allocations: 67.64 kB / 272.9 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.03498, allocations: 4 kB / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/0.042, allocations: 1.037 MB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.04252, allocations: 111.9 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.04627, allocations: 3.889 MB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.04698, allocations: 47.95 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.04702, allocations: 23.98 kB / 278.1 MB, free: 11.88 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.0003291/0.04735, allocations: 204.6 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.04746, allocations: 83.62 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000999/0.04846, allocations: 0.7244 MB / 279.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.04847, allocations: 8 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.04847, allocations: 4 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.04848, allocations: 3.984 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.04894, allocations: 393.4 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.04894, allocations: 4 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.04917, allocations: 79.88 kB / 279.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.05172, allocations: 1.029 MB / 280.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.05176, allocations: 23.98 kB / 280.6 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.05407, allocations: 3.9 MB / 284.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.05407, allocations: 0 / 284.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.05517, allocations: 0.8683 MB / 285.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.05523, allocations: 55.58 kB / 285.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.05529, allocations: 27.92 kB / 285.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.0555, allocations: 39.97 kB / 285.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.05563, allocations: 68.53 kB / 285.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.05566, allocations: 19.97 kB / 285.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000157/0.05581, allocations: 294.7 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05581, allocations: 4 kB / 285.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000431/0.05624, allocations: 204 kB / 286.1 MB, free: 3.59 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.0001799/0.05642, allocations: 131.1 kB / 286.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008709/0.05729, allocations: 0.8301 MB / 287 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0573, allocations: 0 / 287 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.05779, allocations: 0.494 MB / 287.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.05818, allocations: 135.2 kB / 287.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.05994, allocations: 1.284 MB / 288.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.315e-05/0.06003, allocations: 147.1 kB / 289.1 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.06018, allocations: 60.7 kB / 289.1 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.06047, allocations: 218.1 kB / 289.3 MB, free: 168 kB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.06047, allocations: 0 / 289.3 MB, free: 168 kB / 266.7 MB Notification: Performance of Templates: time 0.01575/0.07622, allocations: 13.21 MB / 302.6 MB, free: 2.984 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.231902335770428]