Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007/0.007, allocations: 100.7 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 54.77 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005901/0.1253, allocations: 4.692 MB / 377.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.128, allocations: 1.268 MB / 379.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.1284, allocations: 15.94 kB / 379.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.1287, allocations: 110.8 kB / 379.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.1292, allocations: 253.7 kB / 379.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.1299, allocations: 295.5 kB / 379.8 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.1309, allocations: 1.06 MB / 380.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.1313, allocations: 266.3 kB / 381.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.1318, allocations: 418.5 kB / 381.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1323, allocations: 450.1 kB / 382 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1324, allocations: 84 kB / 382.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1326, allocations: 104 kB / 382.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1328, allocations: 199.3 kB / 382.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.1332, allocations: 429.9 kB / 382.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009729/0.1342, allocations: 0.9733 MB / 383.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1342, allocations: 0 / 383.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1342, allocations: 0 / 383.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.1343, allocations: 0 / 383.7 MB, free: 6.809 MB / 318.1 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.002473/0.1367, allocations: 1.211 MB / 385 MB, free: 5.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1368, allocations: 8.031 kB / 385 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1369, allocations: 87.91 kB / 385.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.1376, allocations: 469.4 kB / 385.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.1376, allocations: 49.67 kB / 385.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1378, allocations: 64.38 kB / 385.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1391, allocations: 0.6353 MB / 386.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.1391, allocations: 0 / 386.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.1392, allocations: 24 kB / 386.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1392, allocations: 16 kB / 386.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.1408, allocations: 0.6765 MB / 387 MB, free: 3.469 MB / 318.1 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.003874/0.1446, allocations: 2.32 MB / 389.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.146, allocations: 0.5866 MB / 389.9 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.1467, allocations: 329.9 kB / 390.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.953e-05/0.1467, allocations: 16.42 kB / 390.2 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008672/0.1476, allocations: 429.3 kB / 390.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.585e-06/0.1476, allocations: 0 / 390.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06734/0.215, allocations: 15.4 MB / 406 MB, free: 116 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.2152, allocations: 137.5 kB / 406.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.216, allocations: 0.491 MB / 406.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.2162, allocations: 45.7 kB / 406.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.2166, allocations: 368 kB / 407.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.2171, allocations: 311.5 kB / 407.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.2175, allocations: 178.5 kB / 407.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.2177, allocations: 378.8 kB / 407.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.2197, allocations: 0.7202 MB / 408.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.2218, allocations: 0.9303 MB / 409.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.2256, allocations: 1.658 MB / 411.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2256, allocations: 0 / 411.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02168/0.2473, allocations: 5.339 MB / 416.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/0.2475, allocations: 71.52 kB / 416.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.2475, allocations: 8 kB / 416.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03197/0.2795, allocations: 6.832 MB / 423.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.2803, allocations: 135.8 kB / 423.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.2865, allocations: 3.016 MB / 426.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2881, allocations: 179.8 kB / 426.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.2883, allocations: 47.97 kB / 426.8 MB, free: 10.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.2888, allocations: 217.7 kB / 427.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.289, allocations: 79.06 kB / 427.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.021/0.31, allocations: 5.099 MB / 432.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.3101, allocations: 8 kB / 432.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.3101, allocations: 256 / 432.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.3101, allocations: 7.984 kB / 432.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.312, allocations: 1.1 MB / 433.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.312, allocations: 7.938 kB / 433.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.3125, allocations: 91.88 kB / 433.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03217/0.3447, allocations: 6.789 MB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.345, allocations: 23.97 kB / 440.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005817/0.3509, allocations: 3.024 MB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.3509, allocations: 3.938 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/0.3746, allocations: 5.987 MB / 449.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.3749, allocations: 140.2 kB / 449.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.3752, allocations: 20.05 kB / 449.4 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.3766, allocations: 175.8 kB / 449.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.377, allocations: 96.88 kB / 449.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.3771, allocations: 35.97 kB / 449.7 MB, free: 3.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004599/0.3776, allocations: 334.9 kB / 450.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3776, allocations: 4 kB / 450.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009255/0.3785, allocations: 252 kB / 450.3 MB, free: 3.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003419/0.3789, allocations: 131.2 kB / 450.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00597/0.3848, allocations: 2.036 MB / 452.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3849, allocations: 12.25 kB / 452.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2392/0.6241, allocations: 1.083 MB / 453.6 MB, free: 77.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6255, allocations: 119.7 kB / 453.7 MB, free: 77.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.6303, allocations: 1.741 MB / 455.4 MB, free: 76.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.631, allocations: 0.9403 MB / 456.4 MB, free: 75.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.6314, allocations: 58.62 kB / 456.4 MB, free: 75.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6315, allocations: 34.78 kB / 456.5 MB, free: 75.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6315, allocations: 1.062 kB / 456.5 MB, free: 75.89 MB / 382.1 MB Notification: Performance of Templates: time 0.03646/0.668, allocations: 22.75 MB / 479.2 MB, free: 63.22 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1)