Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Gate.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.001888/0.001888, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.673/1.673, allocations: 177.1 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 178] 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.002267/0.002267, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5032/0.5032, allocations: 80.26 MB / 392.6 MB, free: 2.43 MB / 314.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.03834/0.03834, allocations: 4.788 MB / 480.6 MB, free: 4.414 MB / 394.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") translateModel(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.337e-05, allocations: 3.188 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.005885/0.005918, allocations: 3.707 MB / 0.6493 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.009912, allocations: 1.634 MB / 0.6509 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.01083, allocations: 15.88 kB / 0.6509 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.01303, allocations: 0.7498 MB / 0.6516 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.01472, allocations: 257.6 kB / 0.6519 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.01619, allocations: 395.1 kB / 0.6523 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.01774, allocations: 1.077 MB / 0.6533 GB, free: 99.38 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/0.01856, allocations: 449.9 kB / 0.6537 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.01936, allocations: 0.5612 MB / 0.6543 GB, free: 98.37 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.02003, allocations: 378.9 kB / 0.6546 GB, free: 98 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.02019, allocations: 88 kB / 0.6547 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.02046, allocations: 96 kB / 0.6548 GB, free: 97.82 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.02064, allocations: 219.1 kB / 0.655 GB, free: 97.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.02102, allocations: 303.1 kB / 0.6553 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.02218, allocations: 0.9189 MB / 0.6562 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.02219, allocations: 3.938 kB / 0.6562 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.02219, allocations: 0 / 0.6562 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.0222, allocations: 0 / 0.6562 GB, free: 96.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.003732/0.02594, allocations: 1.163 MB / 0.6574 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.02599, allocations: 12.03 kB / 0.6574 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.02727, allocations: 164.3 kB / 0.6575 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009677/0.02824, allocations: 403.2 kB / 0.6579 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.02846, allocations: 242.5 kB / 0.6581 GB, free: 94.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.02861, allocations: 68.38 kB / 0.6582 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.03074, allocations: 1.003 MB / 0.6592 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.03077, allocations: 0 / 0.6592 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.03087, allocations: 24 kB / 0.6592 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.03089, allocations: 20 kB / 0.6592 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.03378, allocations: 0.9183 MB / 0.6601 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.04002, allocations: 2.28 MB / 0.6624 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.04181, allocations: 0.5582 MB / 0.6629 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009638/0.04278, allocations: 302.7 kB / 0.6632 GB, free: 89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.04286, allocations: 12.64 kB / 0.6632 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.0429, allocations: 47.2 kB / 0.6632 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.94e-06/0.0429, allocations: 4 kB / 0.6632 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.003224/0.04613, allocations: 0.9737 MB / 0.6642 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.0462, allocations: 218.3 kB / 0.6644 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.04688, allocations: 491 kB / 0.6649 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.04695, allocations: 37.7 kB / 0.6649 GB, free: 87.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.04718, allocations: 364.6 kB / 0.6653 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.04739, allocations: 273.7 kB / 0.6655 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.04771, allocations: 146.6 kB / 0.6657 GB, free: 86.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.04782, allocations: 374.8 kB / 0.666 GB, free: 85.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.04879, allocations: 269.8 kB / 0.6663 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.04995, allocations: 0.6801 MB / 0.6669 GB, free: 84.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.05207, allocations: 0.811 MB / 0.6677 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.05208, allocations: 4 kB / 0.6677 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002602/0.05468, allocations: 0.8875 MB / 0.6686 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.05471, allocations: 8 kB / 0.6686 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.05472, allocations: 8 kB / 0.6686 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.05476, allocations: 12 kB / 0.6686 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.05641, allocations: 235.6 kB / 0.6688 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.05643, allocations: 23.86 kB / 0.6689 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.05705, allocations: 103.5 kB / 0.669 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.05711, allocations: 31.98 kB / 0.669 GB, free: 82.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.05737, allocations: 210.2 kB / 0.6692 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.05746, allocations: 67.58 kB / 0.6693 GB, free: 82.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.05897, allocations: 0.825 MB / 0.6701 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.05897, allocations: 8 kB / 0.6701 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.05898, allocations: 0 / 0.6701 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.05899, allocations: 7.984 kB / 0.6701 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.06122, allocations: 1.44 MB / 0.6715 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.06123, allocations: 7.984 kB / 0.6715 GB, free: 80.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009245/0.06215, allocations: 195.8 kB / 0.6717 GB, free: 79.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.06216, allocations: 8 kB / 0.6717 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.06222, allocations: 19.98 kB / 0.6717 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.06222, allocations: 8 kB / 0.6717 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.06222, allocations: 3.984 kB / 0.6717 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.06357, allocations: 0.8817 MB / 0.6726 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.06366, allocations: 87.27 kB / 0.6727 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.06375, allocations: 19.94 kB / 0.6727 GB, free: 78.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.06428, allocations: 35.97 kB / 0.6727 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.06441, allocations: 60.55 kB / 0.6728 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.06446, allocations: 23.98 kB / 0.6728 GB, free: 78.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002772/0.06473, allocations: 330.9 kB / 0.6731 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.06473, allocations: 0 / 0.6731 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005893/0.06532, allocations: 203.7 kB / 0.6733 GB, free: 78.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.06545, allocations: 115.1 kB / 0.6734 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.06678, allocations: 0.7016 MB / 0.6741 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.06678, allocations: 0 / 0.6741 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.06744, allocations: 364.2 kB / 0.6745 GB, free: 76.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.06807, allocations: 118.1 kB / 0.6746 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.07011, allocations: 1.402 MB / 0.6759 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.07031, allocations: 333.6 kB / 0.6763 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004183/0.07073, allocations: 97.11 kB / 0.6763 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.07095, allocations: 64.47 kB / 0.6764 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.07095, allocations: 0 / 0.6764 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.01346/0.08441, allocations: 9.447 MB / 0.6856 GB, free: 65.63 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Gate.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Gate.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate.pipe >> ../files/OpenHPL_OpenHPL.Examples.Gate.sim & ./OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.917227752041072]