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.001408/0.001408, 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.001505/0.001505, allocations: 163.9 kB / 25.02 MB, free: 8.945 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.426/1.426, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.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 2.835e-06/2.835e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.964e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006625/0.006665, allocations: 4.195 MB / 254.6 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.009519, allocations: 1.237 MB / 255.8 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.009797, allocations: 11.94 kB / 255.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.0101, allocations: 110.8 kB / 255.9 MB, free: 2.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.01068, allocations: 269.6 kB / 256.2 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.01161, allocations: 295.4 kB / 256.5 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.013, allocations: 1.091 MB / 257.6 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.01339, allocations: 178.9 kB / 257.8 MB, free: 380 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008429/0.01423, allocations: 0.5847 MB / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.01482, allocations: 367 kB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01497, allocations: 92 kB / 258.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.01523, allocations: 131.9 kB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.01545, allocations: 211.2 kB / 259.1 MB, free: 15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.01584, allocations: 315.3 kB / 259.4 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.01728, allocations: 1.098 MB / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01728, allocations: 0 / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01728, allocations: 0 / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01729, allocations: 4 kB / 260.5 MB, free: 13.59 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.003103/0.0204, allocations: 1.174 MB / 261.7 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.02046, allocations: 15.97 kB / 261.7 MB, free: 12.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.02078, allocations: 136.4 kB / 261.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.02167, allocations: 423.2 kB / 262.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.02173, allocations: 45.69 kB / 262.3 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.02187, allocations: 64.38 kB / 262.4 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.02364, allocations: 0.804 MB / 263.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.02366, allocations: 4.125 kB / 263.2 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.02376, allocations: 32.36 kB / 263.2 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.02378, allocations: 15.94 kB / 263.2 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.02573, allocations: 0.7507 MB / 264 MB, free: 10.03 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.004653/0.03039, allocations: 1.965 MB / 265.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.03214, allocations: 0.615 MB / 266.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009019/0.03304, allocations: 382.5 kB / 266.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.03312, allocations: 16.59 kB / 266.9 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.03469, allocations: 0.638 MB / 267.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.514e-06/0.0347, allocations: 0 / 267.6 MB, free: 6.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.009558/0.04425, allocations: 2.706 MB / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.04442, allocations: 141.2 kB / 270.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.04515, allocations: 454 kB / 270.9 MB, free: 2.914 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.04523, allocations: 37.7 kB / 270.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.04559, allocations: 324.9 kB / 271.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.04587, allocations: 245.9 kB / 271.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.04616, allocations: 134.6 kB / 271.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.04641, allocations: 370.7 kB / 272 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.04732, allocations: 381.2 kB / 272.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.0484, allocations: 0.5676 MB / 272.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03378/0.08219, allocations: 6.542 MB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.08219, allocations: 0 / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003605/0.0858, allocations: 1.322 MB / 280.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.0859, allocations: 67.39 kB / 280.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.08591, allocations: 0 / 280.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008631/0.09454, allocations: 1.469 MB / 282.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.09522, allocations: 131.7 kB / 282.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/0.1002, allocations: 3.528 MB / 286 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/0.1011, allocations: 67.97 kB / 286 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.1011, allocations: 27.98 kB / 286.1 MB, free: 3.34 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.0004944/0.1016, allocations: 206.2 kB / 286.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.1018, allocations: 99.56 kB / 286.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.1051, allocations: 1.115 MB / 287.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.1051, allocations: 4 kB / 287.5 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1051, allocations: 8 kB / 287.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.1052, allocations: 7.984 kB / 287.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.106, allocations: 0.4975 MB / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.106, allocations: 0 / 288 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.1066, allocations: 95.84 kB / 288.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008422/0.115, allocations: 1.434 MB / 289.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.1151, allocations: 27.97 kB / 289.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.1202, allocations: 3.562 MB / 293.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.1202, allocations: 3.938 kB / 293.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.1245, allocations: 1.552 MB / 294.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.1247, allocations: 59.61 kB / 294.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.1248, allocations: 15.94 kB / 294.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000651/0.1254, allocations: 63.94 kB / 294.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.1257, allocations: 72.52 kB / 294.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.1257, allocations: 23.98 kB / 294.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004429/0.1262, allocations: 310.9 kB / 295.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1262, allocations: 0 / 295.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.127, allocations: 203.9 kB / 295.4 MB, free: 9.758 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,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.0003269/0.1273, allocations: 135.3 kB / 295.5 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.1303, allocations: 1.141 MB / 296.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1304, allocations: 0 / 296.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.1319, allocations: 0.6115 MB / 297.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.1326, allocations: 149.7 kB / 297.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.1356, allocations: 1.391 MB / 298.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.136, allocations: 318.3 kB / 299.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.1362, allocations: 64.7 kB / 299.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1364, allocations: 48.48 kB / 299.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1364, allocations: 0 / 299.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of Templates: time 0.0247/0.1611, allocations: 12.31 MB / 311.5 MB, free: 9.48 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.892763525014743]