Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001497/0.001497, 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.001871/0.001871, allocations: 199.2 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.635/1.635, allocations: 205.1 MB / 222 MB, free: 4.996 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.001153/0.001152, allocations: 51.92 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2358, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005496/0.2413, allocations: 4.718 MB / 329.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.2441, allocations: 1.283 MB / 330.7 MB, free: 13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004403/0.2446, allocations: 9.656 kB / 330.7 MB, free: 13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.245, allocations: 79.66 kB / 330.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.2455, allocations: 209.8 kB / 331 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.2462, allocations: 252.5 kB / 331.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.2472, allocations: 0.9963 MB / 332.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.2476, allocations: 212 kB / 332.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.2481, allocations: 375.5 kB / 332.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.2486, allocations: 428.5 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2487, allocations: 51.5 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.249, allocations: 78.91 kB / 333.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2491, allocations: 153.4 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.2495, allocations: 399.2 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.2504, allocations: 0.9377 MB / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2504, allocations: 0 / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2504, allocations: 0 / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2504, allocations: 0 / 334.8 MB, free: 10.01 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.002385/0.2528, allocations: 1.208 MB / 336 MB, free: 8.734 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2529, allocations: 12.03 kB / 336 MB, free: 8.723 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.253, allocations: 87.91 kB / 336.1 MB, free: 8.637 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2536, allocations: 465.3 kB / 336.6 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.2536, allocations: 45.69 kB / 336.6 MB, free: 8.098 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.2537, allocations: 60.38 kB / 336.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.2551, allocations: 0.6392 MB / 337.3 MB, free: 7.391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2551, allocations: 4 kB / 337.3 MB, free: 7.387 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.2551, allocations: 24 kB / 337.3 MB, free: 7.363 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.2552, allocations: 16 kB / 337.4 MB, free: 7.348 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.2568, allocations: 0.6765 MB / 338 MB, free: 6.672 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.003561/0.2604, allocations: 2.328 MB / 340.4 MB, free: 4.188 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2618, allocations: 0.5944 MB / 341 MB, free: 3.586 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.2625, allocations: 326 kB / 341.3 MB, free: 3.266 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.2626, allocations: 24.3 kB / 341.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.2636, allocations: 421.4 kB / 341.7 MB, free: 2.805 MB / 270.1 MB Notification: Performance of pre-optimization done (n=54): time 1.993e-06/0.2636, allocations: 3.938 kB / 341.7 MB, free: 2.801 MB / 270.1 MB Notification: Performance of matching and sorting (n=94): time 0.06849/0.3321, allocations: 15.39 MB / 357.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3322, allocations: 145.5 kB / 357.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.3329, allocations: 498.8 kB / 357.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.3331, allocations: 45.7 kB / 357.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.3334, allocations: 352.1 kB / 358.1 MB, free: 2.242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.3338, allocations: 319.4 kB / 358.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/0.3342, allocations: 178.5 kB / 358.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3344, allocations: 382.8 kB / 359 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.3363, allocations: 0.7202 MB / 359.7 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.3384, allocations: 0.9225 MB / 360.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.3424, allocations: 1.666 MB / 362.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3424, allocations: 4 kB / 362.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02326/0.3657, allocations: 5.343 MB / 367.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/0.3658, allocations: 64.03 kB / 367.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.3658, allocations: 4 kB / 367.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03322/0.3991, allocations: 6.832 MB / 374.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.3998, allocations: 143.8 kB / 374.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006144/0.406, allocations: 3.016 MB / 377.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.4076, allocations: 179.8 kB / 377.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.4079, allocations: 43.98 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.0006143/0.4085, allocations: 217.7 kB / 378.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.4088, allocations: 79.06 kB / 378.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/0.4312, allocations: 5.102 MB / 383.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.4312, allocations: 8 kB / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4313, allocations: 256 / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.4313, allocations: 3.984 kB / 383.3 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4331, allocations: 1.094 MB / 384.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4331, allocations: 3.938 kB / 384.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.4336, allocations: 91.88 kB / 384.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03345/0.4671, allocations: 6.797 MB / 391.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002781/0.4674, allocations: 23.98 kB / 391.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/0.4736, allocations: 3.048 MB / 394.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4737, allocations: 0 / 394.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02479/0.4985, allocations: 5.979 MB / 400.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.4987, allocations: 136.3 kB / 400.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.499, allocations: 24.06 kB / 400.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.5005, allocations: 175.7 kB / 400.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.5009, allocations: 88.88 kB / 400.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.501, allocations: 39.91 kB / 400.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.5014, allocations: 334.8 kB / 401.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5014, allocations: 0 / 401.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008521/0.5023, allocations: 252 kB / 401.4 MB, free: 6.477 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.0003057/0.5026, allocations: 139.2 kB / 401.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00635/0.509, allocations: 2.028 MB / 403.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.509, allocations: 0 / 403.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003637/0.5127, allocations: 1.078 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.0009567/0.5136, allocations: 122.2 kB / 404.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.518, allocations: 2.09 MB / 406.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.5186, allocations: 0.9427 MB / 407.8 MB, free: 0 / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003446/0.519, allocations: 54.08 kB / 407.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5191, allocations: 31.44 kB / 407.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5191, allocations: 0 / 407.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of Templates: time 0.03592/0.555, allocations: 20.85 MB / 428.7 MB, free: 11.03 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1)