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.000957/0.000957, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.046/1.046, allocations: 230.6 MB / 253.4 MB, free: 9.84 MB / 202.7 MB " [Timeout remaining time 179] 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.002187/0.002187, allocations: 217.4 kB / 310 MB, free: 1.945 MB / 234.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.4467/0.4467, allocations: 107.2 MB / 473.6 MB, free: 9.914 MB / 330.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.02309/0.02309, allocations: 6.304 MB / 0.5499 GB, free: 1.285 MB / 410.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package OpenIPSL of version 3.0.0. OpenIPSL 3.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHPL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00358/0.00358, allocations: 136.3 kB / 0.7254 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3586, allocations: 81.64 MB / 0.8051 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.002908/0.3615, allocations: 3.707 MB / 0.8087 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.363, allocations: 1.617 MB / 0.8103 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3632, allocations: 9.906 kB / 0.8103 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.3639, allocations: 0.7213 MB / 0.811 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.3642, allocations: 239.4 kB / 0.8113 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3646, allocations: 401.5 kB / 0.8116 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.3651, allocations: 1.039 MB / 0.8127 GB, free: 28.03 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.3655, allocations: 448.3 kB / 0.8131 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.3658, allocations: 407.4 kB / 0.8135 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.3661, allocations: 442 kB / 0.8139 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.3662, allocations: 87.09 kB / 0.814 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3663, allocations: 95.19 kB / 0.8141 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.3664, allocations: 217.7 kB / 0.8143 GB, free: 27.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.3665, allocations: 359.9 kB / 0.8146 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.3671, allocations: 0.8813 MB / 0.8155 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3671, allocations: 4 kB / 0.8155 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3671, allocations: 0 / 0.8155 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3671, allocations: 0 / 0.8155 GB, free: 26.68 MB / 0.5261 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.001492/0.3686, allocations: 1.172 MB / 0.8166 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3687, allocations: 9.094 kB / 0.8166 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.3691, allocations: 166.9 kB / 0.8168 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.3695, allocations: 404.1 kB / 0.8172 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3696, allocations: 247.5 kB / 0.8174 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.3697, allocations: 66.34 kB / 0.8175 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/0.3706, allocations: 1.001 MB / 0.8185 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3706, allocations: 1.359 kB / 0.8185 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.3707, allocations: 30.12 kB / 0.8185 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3707, allocations: 16.06 kB / 0.8185 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.3719, allocations: 0.9174 MB / 0.8194 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.3744, allocations: 2.281 MB / 0.8216 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.3752, allocations: 0.5648 MB / 0.8222 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.3756, allocations: 305.7 kB / 0.8225 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.3756, allocations: 14.44 kB / 0.8225 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3757, allocations: 39.16 kB / 0.8225 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 1.944e-06/0.3757, allocations: 0 / 0.8225 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001285/0.3769, allocations: 0.9847 MB / 0.8235 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.377, allocations: 216 kB / 0.8237 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.3773, allocations: 482.3 kB / 0.8241 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.3773, allocations: 36.86 kB / 0.8242 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3775, allocations: 371.3 kB / 0.8245 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3776, allocations: 284.5 kB / 0.8248 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.3777, allocations: 144.9 kB / 0.8249 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.3778, allocations: 372.9 kB / 0.8253 GB, free: 20.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.3782, allocations: 274.6 kB / 0.8256 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.3786, allocations: 0.6814 MB / 0.8262 GB, free: 20.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.3795, allocations: 0.8076 MB / 0.827 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3795, allocations: 6.938 kB / 0.827 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001079/0.3805, allocations: 0.8852 MB / 0.8279 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3806, allocations: 10.92 kB / 0.8279 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3806, allocations: 12.12 kB / 0.8279 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3806, allocations: 14.78 kB / 0.8279 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.3812, allocations: 238 kB / 0.8282 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3812, allocations: 15.53 kB / 0.8282 GB, free: 19.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.3815, allocations: 89.62 kB / 0.8283 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.3815, allocations: 41.19 kB / 0.8283 GB, free: 19.18 MB / 0.5261 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.000162/0.3817, allocations: 209 kB / 0.8285 GB, free: 19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.3817, allocations: 71.88 kB / 0.8286 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3828, allocations: 0.8223 MB / 0.8294 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3828, allocations: 8.625 kB / 0.8294 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3828, allocations: 0 / 0.8294 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3828, allocations: 4.641 kB / 0.8294 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3844, allocations: 1.455 MB / 0.8308 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3844, allocations: 3.656 kB / 0.8308 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.3848, allocations: 196.1 kB / 0.831 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3848, allocations: 4.719 kB / 0.831 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3849, allocations: 15.94 kB / 0.831 GB, free: 17.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3849, allocations: 8.938 kB / 0.831 GB, free: 17.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3849, allocations: 3.078 kB / 0.831 GB, free: 17.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.3858, allocations: 0.8811 MB / 0.8319 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.3859, allocations: 79.73 kB / 0.832 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.386, allocations: 26.8 kB / 0.832 GB, free: 17.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.3862, allocations: 34.45 kB / 0.832 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3863, allocations: 65.81 kB / 0.8321 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3864, allocations: 26.69 kB / 0.8321 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002455/0.3866, allocations: 331.6 kB / 0.8324 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 0.8324 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004054/0.387, allocations: 202.5 kB / 0.8326 GB, free: 17.04 MB / 0.5261 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 9.028e-05/0.3871, allocations: 113.8 kB / 0.8327 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009833/0.3881, allocations: 0.6973 MB / 0.8334 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3881, allocations: 0 / 0.8334 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.3886, allocations: 366.7 kB / 0.8338 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.389, allocations: 118.2 kB / 0.8339 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3907, allocations: 1.478 MB / 0.8353 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.391, allocations: 334.9 kB / 0.8356 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.3912, allocations: 77.09 kB / 0.8357 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.3912, allocations: 0 / 0.8357 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.00884/0.4001, allocations: 9.856 MB / 0.8453 GB, free: 10.57 MB / 0.5261 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 > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.41171633079648]