Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00136/0.00136, allocations: 93.05 kB / 16.3 MB, free: 5.996 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.00127/0.00127, allocations: 184.6 kB / 17.2 MB, free: 5.914 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.459/1.459, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0004724/0.0004725, allocations: 15.98 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2602, allocations: 47.58 MB / 327.7 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004098/0.2643, allocations: 3.772 MB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.2669, allocations: 1.265 MB / 332.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.2673, allocations: 13.19 kB / 332.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.2674, allocations: 86.8 kB / 332.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.268, allocations: 263.9 kB / 333.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.2686, allocations: 214.7 kB / 333.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009974/0.2696, allocations: 0.6604 MB / 334 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.27, allocations: 199.5 kB / 334.1 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.2706, allocations: 353.6 kB / 334.5 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.2712, allocations: 407.1 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.2714, allocations: 45.5 kB / 334.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.2716, allocations: 70.56 kB / 335 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.2718, allocations: 141.1 kB / 335.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.272, allocations: 166.3 kB / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.2728, allocations: 0.7127 MB / 336 MB, free: 11.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2728, allocations: 4 kB / 336 MB, free: 11.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2728, allocations: 0 / 336 MB, free: 11.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.2728, allocations: 0 / 336 MB, free: 11.16 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.002456/0.2753, allocations: 1.118 MB / 337.1 MB, free: 9.977 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2753, allocations: 8.031 kB / 337.1 MB, free: 9.969 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.2755, allocations: 86.97 kB / 337.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.2761, allocations: 448.5 kB / 337.7 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.2762, allocations: 53.27 kB / 337.7 MB, free: 9.355 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2763, allocations: 63.91 kB / 337.8 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.2777, allocations: 0.6545 MB / 338.4 MB, free: 8.629 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2777, allocations: 0 / 338.4 MB, free: 8.629 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.2778, allocations: 24 kB / 338.5 MB, free: 8.605 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.2778, allocations: 16 kB / 338.5 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.2795, allocations: 0.7351 MB / 339.2 MB, free: 7.855 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.003886/0.2834, allocations: 2.371 MB / 341.6 MB, free: 5.328 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2849, allocations: 0.6374 MB / 342.2 MB, free: 4.684 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.2849, allocations: 8.438 kB / 342.2 MB, free: 4.676 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/0.2859, allocations: 457.4 kB / 342.7 MB, free: 4.203 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 2.435e-06/0.2859, allocations: 0 / 342.7 MB, free: 4.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=94): time 0.06918/0.3551, allocations: 16.7 MB / 359.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.3554, allocations: 153.4 kB / 359.5 MB, free: 3.227 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.3563, allocations: 486.9 kB / 360 MB, free: 2.746 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.3565, allocations: 49.7 kB / 360 MB, free: 2.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.3569, allocations: 363.9 kB / 360.4 MB, free: 2.328 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.3573, allocations: 311.5 kB / 360.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.3574, allocations: 23.94 kB / 360.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.3576, allocations: 382.8 kB / 361.1 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.3596, allocations: 0.7905 MB / 361.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.3617, allocations: 0.9967 MB / 362.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.3638, allocations: 0.873 MB / 363.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3638, allocations: 0 / 363.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02281/0.3867, allocations: 5.624 MB / 369.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/0.3868, allocations: 63.39 kB / 369.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3868, allocations: 4 kB / 369.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03518/0.422, allocations: 7.324 MB / 376.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.4229, allocations: 167.8 kB / 376.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.4296, allocations: 3.208 MB / 380.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.4314, allocations: 227.8 kB / 380.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4316, allocations: 43.97 kB / 380.4 MB, free: 14.1 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 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005146/0.4321, allocations: 221.6 kB / 380.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4323, allocations: 75.06 kB / 380.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/0.4549, allocations: 5.458 MB / 386.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.4549, allocations: 12.03 kB / 386.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4549, allocations: 7.953 kB / 386.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.455, allocations: 3.984 kB / 386.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4565, allocations: 1.094 MB / 387.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.4565, allocations: 4.25 kB / 387.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.4571, allocations: 127.8 kB / 387.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03442/0.4915, allocations: 7.297 MB / 394.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/0.4919, allocations: 23.98 kB / 394.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/0.4979, allocations: 3.087 MB / 397.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4979, allocations: 0 / 397.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/0.523, allocations: 6.417 MB / 404.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.5233, allocations: 144.2 kB / 404.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.5235, allocations: 16 kB / 404.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.525, allocations: 211.8 kB / 404.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.5253, allocations: 104.8 kB / 404.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5254, allocations: 27.98 kB / 404.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003989/0.5259, allocations: 330.9 kB / 405 MB, free: 5.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.5259, allocations: 0 / 405 MB, free: 5.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008693/0.5267, allocations: 259.9 kB / 405.3 MB, free: 5.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002852/0.527, allocations: 127.2 kB / 405.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006954/0.534, allocations: 2.317 MB / 407.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.534, allocations: 1.125 kB / 407.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.5376, allocations: 1.152 MB / 408.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5386, allocations: 118.1 kB / 409 MB, free: 1.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.5432, allocations: 2.059 MB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.5437, allocations: 0.9621 MB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003175/0.5441, allocations: 58.06 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.5442, allocations: 27.44 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5442, allocations: 4 kB / 412.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.03057/0.5748, allocations: 19.7 MB / 431.8 MB, free: 10.36 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) Environment - environmentSimulation: