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.002035/0.002035, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002304/0.002304, allocations: 168 kB / 25.02 MB, free: 8.422 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.391/1.391, allocations: 158.6 MB / 186.8 MB, free: 2.844 MB / 170.7 MB " [Timeout remaining time 178] 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.783e-06/1.783e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.695e-05, allocations: 2.312 kB / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006385/0.006422, allocations: 4.217 MB / 254.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.009081, allocations: 1.229 MB / 255.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.009372, allocations: 11.94 kB / 255.8 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.009689, allocations: 114.8 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.01023, allocations: 269.5 kB / 256.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.011, allocations: 303.4 kB / 256.5 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.01232, allocations: 1.091 MB / 257.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.01269, allocations: 170.9 kB / 257.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.01348, allocations: 0.5809 MB / 258.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.01403, allocations: 378.9 kB / 258.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.01418, allocations: 92 kB / 258.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.01443, allocations: 127.9 kB / 258.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.01465, allocations: 207.3 kB / 259.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.01504, allocations: 323.2 kB / 259.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.01637, allocations: 1.094 MB / 260.5 MB, free: 9.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01638, allocations: 0 / 260.5 MB, free: 9.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01638, allocations: 0 / 260.5 MB, free: 9.688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.01639, allocations: 0 / 260.5 MB, free: 9.688 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.002816/0.01921, allocations: 1.166 MB / 261.7 MB, free: 8.473 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.01925, allocations: 15.98 kB / 261.7 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.01955, allocations: 144.4 kB / 261.9 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.02034, allocations: 419.2 kB / 262.3 MB, free: 7.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.0204, allocations: 45.69 kB / 262.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.02054, allocations: 68.36 kB / 262.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.02222, allocations: 0.8079 MB / 263.2 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.02224, allocations: 192 / 263.2 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/0.02231, allocations: 24.38 kB / 263.2 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.02234, allocations: 23.88 kB / 263.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.02432, allocations: 0.7546 MB / 264 MB, free: 6.125 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004286/0.02861, allocations: 1.957 MB / 265.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.03028, allocations: 0.615 MB / 266.6 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009042/0.03119, allocations: 374.6 kB / 266.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.78e-05/0.03125, allocations: 24.58 kB / 267 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.03255, allocations: 0.6341 MB / 267.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.084e-06/0.03255, allocations: 0 / 267.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.009227/0.04178, allocations: 2.718 MB / 270.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.0419, allocations: 137.2 kB / 270.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.04257, allocations: 454 kB / 270.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.852e-05/0.04265, allocations: 41.7 kB / 270.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.04297, allocations: 324.9 kB / 271.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.04323, allocations: 242 kB / 271.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.04349, allocations: 126.6 kB / 271.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.04374, allocations: 378.6 kB / 272 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.04464, allocations: 381.2 kB / 272.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.04572, allocations: 0.5598 MB / 272.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03184/0.07757, allocations: 6.433 MB / 279.3 MB, free: 6.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.07757, allocations: 4 kB / 279.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003635/0.08121, allocations: 1.318 MB / 280.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.08129, allocations: 63.39 kB / 280.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.0813, allocations: 4 kB / 280.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008366/0.08967, allocations: 1.465 MB / 282.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.09042, allocations: 127.7 kB / 282.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/0.0949, allocations: 3.315 MB / 285.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.09573, allocations: 67.98 kB / 285.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.0958, allocations: 27.98 kB / 285.7 MB, free: 15.78 MB / 282.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.0004661/0.09627, allocations: 214.1 kB / 285.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.09645, allocations: 87.58 kB / 286 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.09956, allocations: 1.118 MB / 287.1 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.09957, allocations: 11.94 kB / 287.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.09958, allocations: 4 kB / 287.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.09959, allocations: 3.984 kB / 287.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.1004, allocations: 489.6 kB / 287.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1004, allocations: 3.938 kB / 287.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.101, allocations: 95.89 kB / 287.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007933/0.1089, allocations: 1.44 MB / 289.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.109, allocations: 31.91 kB / 289.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00426/0.1132, allocations: 3.349 MB / 292.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1133, allocations: 4 kB / 292.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.1173, allocations: 1.552 MB / 294.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1175, allocations: 59.61 kB / 294.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1176, allocations: 12 kB / 294.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.1182, allocations: 59.94 kB / 294.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.1184, allocations: 80.45 kB / 294.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.1185, allocations: 19.98 kB / 294.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004108/0.1189, allocations: 314.9 kB / 294.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1189, allocations: 0 / 294.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006762/0.1196, allocations: 207.9 kB / 294.8 MB, free: 6.41 MB / 282.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.0002617/0.1198, allocations: 127.2 kB / 295 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.1225, allocations: 1.133 MB / 296.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1225, allocations: 0 / 296.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.124, allocations: 0.5999 MB / 296.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.1246, allocations: 141.7 kB / 296.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.1277, allocations: 1.388 MB / 298.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.128, allocations: 318.3 kB / 298.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.1283, allocations: 56.72 kB / 298.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1285, allocations: 44.48 kB / 298.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1285, allocations: 0 / 298.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of Templates: time 0.1257/0.2542, allocations: 12.27 MB / 310.9 MB, free: 56.42 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1281703060958534]