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.001669/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002566/0.002566, allocations: 191 kB / 16.14 MB, free: 6.707 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.423/1.423, allocations: 205.1 MB / 222 MB, free: 4.969 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.001162/0.001162, allocations: 47.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2984, allocations: 46.63 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005593/0.3041, allocations: 4.719 MB / 329.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.3072, allocations: 1.275 MB / 330.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005321/0.3078, allocations: 9.875 kB / 330.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3083, allocations: 83.45 kB / 330.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.3088, allocations: 212.3 kB / 331 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3096, allocations: 258.2 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3107, allocations: 0.9908 MB / 332.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3112, allocations: 225.3 kB / 332.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.3117, allocations: 366.8 kB / 332.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.3122, allocations: 424.9 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.3123, allocations: 55.66 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.3125, allocations: 74.27 kB / 333.3 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3127, allocations: 156.9 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.3131, allocations: 392.9 kB / 333.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.314, allocations: 0.9317 MB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.314, allocations: 0 / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.314, allocations: 0 / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.314, allocations: 4 kB / 334.8 MB, free: 10.02 MB / 270.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.002625/0.3167, allocations: 1.211 MB / 336 MB, free: 8.738 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3167, allocations: 12.03 kB / 336 MB, free: 8.727 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.3169, allocations: 87.91 kB / 336.1 MB, free: 8.641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.3175, allocations: 461.3 kB / 336.6 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.3175, allocations: 49.69 kB / 336.6 MB, free: 8.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3177, allocations: 60.38 kB / 336.7 MB, free: 8.043 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3191, allocations: 0.6392 MB / 337.3 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3191, allocations: 0 / 337.3 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.3192, allocations: 28 kB / 337.3 MB, free: 7.367 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.3192, allocations: 12 kB / 337.4 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.3209, allocations: 0.6804 MB / 338 MB, free: 6.676 MB / 270.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.003775/0.3247, allocations: 2.324 MB / 340.4 MB, free: 4.195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.3261, allocations: 0.5982 MB / 341 MB, free: 3.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.3269, allocations: 337.9 kB / 341.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.327, allocations: 8.438 kB / 341.3 MB, free: 3.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009734/0.3279, allocations: 429.4 kB / 341.7 MB, free: 2.805 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.284e-06/0.328, allocations: 3.938 kB / 341.7 MB, free: 2.801 MB / 270.1 MB Notification: Performance of matching and sorting (n=94): time 0.06882/0.3968, allocations: 15.39 MB / 357.1 MB, free: 3.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3969, allocations: 153.5 kB / 357.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.3976, allocations: 494.8 kB / 357.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.3978, allocations: 45.7 kB / 357.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.3981, allocations: 360 kB / 358.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.3984, allocations: 319.3 kB / 358.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.3988, allocations: 174.5 kB / 358.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.399, allocations: 382.8 kB / 359 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.4009, allocations: 0.7202 MB / 359.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.403, allocations: 0.9227 MB / 360.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.4069, allocations: 1.67 MB / 362.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.4069, allocations: 0 / 362.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02348/0.4304, allocations: 5.339 MB / 367.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.4306, allocations: 67.34 kB / 367.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.4306, allocations: 4 kB / 367.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03319/0.4638, allocations: 6.828 MB / 374.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.4645, allocations: 143.8 kB / 374.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.4706, allocations: 3.016 MB / 377.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4722, allocations: 179.8 kB / 377.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4724, allocations: 47.97 kB / 377.9 MB, free: 14.16 MB / 318.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.0004167/0.4728, allocations: 217.7 kB / 378.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.473, allocations: 83.06 kB / 378.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/0.4944, allocations: 5.095 MB / 383.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.4945, allocations: 12 kB / 383.3 MB, free: 8.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.4946, allocations: 4.234 kB / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.4946, allocations: 8.016 kB / 383.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.4966, allocations: 1.086 MB / 384.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4966, allocations: 3.938 kB / 384.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.4971, allocations: 95.81 kB / 384.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03334/0.5305, allocations: 6.793 MB / 391.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/0.5308, allocations: 27.97 kB / 391.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/0.5368, allocations: 3.044 MB / 394.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5369, allocations: 0 / 394.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/0.5608, allocations: 5.979 MB / 400.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.5613, allocations: 144.3 kB / 400.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.5615, allocations: 16 kB / 400.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.5628, allocations: 175.7 kB / 400.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.5631, allocations: 92.86 kB / 400.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/0.5632, allocations: 35.92 kB / 400.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.5636, allocations: 334.9 kB / 401.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5636, allocations: 3.938 kB / 401.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007922/0.5644, allocations: 260 kB / 401.4 MB, free: 6.469 MB / 334.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.0003037/0.5647, allocations: 131.2 kB / 401.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005788/0.5705, allocations: 2.024 MB / 403.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5706, allocations: 5.125 kB / 403.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.5739, allocations: 1.077 MB / 404.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.5748, allocations: 125.2 kB / 404.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.5786, allocations: 2.08 MB / 406.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.5792, allocations: 0.9427 MB / 407.8 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.5795, allocations: 62 kB / 407.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5796, allocations: 27.44 kB / 407.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5796, allocations: 0 / 407.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of Templates: time 0.03324/0.6129, allocations: 20.84 MB / 428.7 MB, free: 11.04 MB / 366.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)