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.002412/0.002412, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.65/1.65, allocations: 230.6 MB / 252.7 MB, free: 9.824 MB / 202.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.002154/0.002154, allocations: 213.4 kB / 309.2 MB, free: 1.832 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.6486/0.6486, allocations: 107.2 MB / 472.8 MB, free: 9.902 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.04383/0.04383, allocations: 6.301 MB / 0.5492 GB, free: 1.277 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.01002/0.01002, allocations: 123.8 kB / 0.7254 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3904, allocations: 81.65 MB / 0.8052 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.003812/0.3942, allocations: 3.686 MB / 0.8088 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3966, allocations: 1.63 MB / 0.8103 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3969, allocations: 10.41 kB / 0.8104 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.398, allocations: 0.7079 MB / 0.8111 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.3984, allocations: 242.5 kB / 0.8113 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.3991, allocations: 401.7 kB / 0.8117 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.3999, allocations: 1.04 MB / 0.8127 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.4004, allocations: 441.4 kB / 0.8131 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.4008, allocations: 420.3 kB / 0.8135 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.4012, allocations: 439.8 kB / 0.8139 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.4014, allocations: 87.19 kB / 0.814 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.4015, allocations: 102.2 kB / 0.8141 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.4017, allocations: 211.5 kB / 0.8143 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.4019, allocations: 358.4 kB / 0.8146 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.4028, allocations: 0.8897 MB / 0.8155 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4028, allocations: 0 / 0.8155 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4028, allocations: 0 / 0.8155 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.4028, allocations: 0 / 0.8155 GB, free: 27.13 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.002627/0.4054, allocations: 1.173 MB / 0.8167 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4054, allocations: 9.672 kB / 0.8167 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.4062, allocations: 170.5 kB / 0.8168 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.4068, allocations: 400.7 kB / 0.8172 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4069, allocations: 247.4 kB / 0.8175 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.407, allocations: 66.06 kB / 0.8175 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.4084, allocations: 1.005 MB / 0.8185 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.4085, allocations: 0 / 0.8185 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.4085, allocations: 26 kB / 0.8185 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4086, allocations: 17.97 kB / 0.8185 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.4103, allocations: 0.9226 MB / 0.8194 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.4143, allocations: 2.276 MB / 0.8217 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4154, allocations: 0.5659 MB / 0.8222 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.416, allocations: 314.4 kB / 0.8225 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.416, allocations: 6.812 kB / 0.8225 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4161, allocations: 46.11 kB / 0.8226 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.4161, allocations: 0 / 0.8226 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001984/0.4181, allocations: 0.9784 MB / 0.8235 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.4181, allocations: 216 kB / 0.8237 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.4186, allocations: 482.6 kB / 0.8242 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.4186, allocations: 36.8 kB / 0.8242 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.4188, allocations: 371.9 kB / 0.8246 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.419, allocations: 280.5 kB / 0.8248 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.4192, allocations: 148.2 kB / 0.825 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.4193, allocations: 380.6 kB / 0.8253 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.4198, allocations: 267.2 kB / 0.8256 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.4206, allocations: 0.6785 MB / 0.8263 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4219, allocations: 0.8152 MB / 0.8271 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.4219, allocations: 2.719 kB / 0.8271 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001678/0.4235, allocations: 0.884 MB / 0.8279 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4236, allocations: 6 kB / 0.8279 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4236, allocations: 9.656 kB / 0.8279 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.4236, allocations: 14.58 kB / 0.828 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4247, allocations: 246.9 kB / 0.8282 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.4247, allocations: 11.69 kB / 0.8282 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.4254, allocations: 92.22 kB / 0.8283 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/0.4255, allocations: 43.03 kB / 0.8283 GB, free: 19.63 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.0002791/0.4258, allocations: 205.1 kB / 0.8285 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4259, allocations: 74.31 kB / 0.8286 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.4275, allocations: 0.8195 MB / 0.8294 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4275, allocations: 11.12 kB / 0.8294 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4275, allocations: 0 / 0.8294 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4275, allocations: 11.61 kB / 0.8294 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.4299, allocations: 1.45 MB / 0.8308 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4299, allocations: 3.094 kB / 0.8308 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009916/0.4309, allocations: 188.2 kB / 0.831 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.4309, allocations: 4.531 kB / 0.831 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.431, allocations: 20.89 kB / 0.831 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.431, allocations: 8.391 kB / 0.831 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.431, allocations: 5.797 kB / 0.8311 GB, free: 18.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.4324, allocations: 0.8856 MB / 0.8319 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4325, allocations: 76.27 kB / 0.832 GB, free: 17.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.4326, allocations: 21.94 kB / 0.832 GB, free: 17.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005296/0.4332, allocations: 43.53 kB / 0.8321 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.4333, allocations: 57.8 kB / 0.8321 GB, free: 17.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.4334, allocations: 30.88 kB / 0.8321 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000349/0.4337, allocations: 325.7 kB / 0.8325 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4337, allocations: 5.188 kB / 0.8325 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006464/0.4344, allocations: 201.3 kB / 0.8326 GB, free: 17.49 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 0.0001158/0.4345, allocations: 115.1 kB / 0.8328 GB, free: 17.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.4359, allocations: 0.6966 MB / 0.8334 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4359, allocations: 1.656 kB / 0.8334 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.4366, allocations: 360.9 kB / 0.8338 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.4373, allocations: 118.5 kB / 0.8339 GB, free: 17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4397, allocations: 1.451 MB / 0.8353 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.44, allocations: 338.1 kB / 0.8356 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004857/0.4405, allocations: 94.89 kB / 0.8357 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.4407, allocations: 68.5 kB / 0.8358 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/0.4407, allocations: 0 / 0.8358 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.01544/0.4561, allocations: 10.43 MB / 0.846 GB, free: 10.67 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.905785815790296]