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.0009641/0.0009641, allocations: 88.42 kB / 19.93 MB, free: 4.613 MB / 18.57 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 0.933/0.933, allocations: 177.1 MB / 200.2 MB, free: 5.953 MB / 186.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.001198/0.001198, allocations: 167.4 kB / 256.7 MB, free: 13.34 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.2813/0.2813, allocations: 80.25 MB / 393.4 MB, free: 2.438 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.0306/0.0306, allocations: 4.8 MB / 481.4 MB, free: 4.41 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 1.353e-06/1.353e-06, allocations: 0 / 0.6456 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.513e-05, allocations: 5.516 kB / 0.6457 GB, free: 108 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.002505/0.00252, allocations: 3.699 MB / 0.6493 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004063, allocations: 1.633 MB / 0.6509 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.004231, allocations: 11.94 kB / 0.6509 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.004936, allocations: 0.7518 MB / 0.6516 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.005158, allocations: 252.6 kB / 0.6518 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.005544, allocations: 401.8 kB / 0.6522 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.005974, allocations: 1.07 MB / 0.6533 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.006338, allocations: 445.9 kB / 0.6537 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.006671, allocations: 0.5689 MB / 0.6543 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.006929, allocations: 370.9 kB / 0.6546 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.006999, allocations: 90.69 kB / 0.6547 GB, free: 98.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.007109, allocations: 107.9 kB / 0.6548 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.007184, allocations: 211.1 kB / 0.655 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.007326, allocations: 307.1 kB / 0.6553 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.007825, allocations: 0.915 MB / 0.6562 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.007828, allocations: 0 / 0.6562 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/0.00783, allocations: 3.938 kB / 0.6562 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.007837, allocations: 3.875 kB / 0.6562 GB, free: 97.18 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.001285/0.009122, allocations: 1.163 MB / 0.6573 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.009154, allocations: 8.031 kB / 0.6573 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.009526, allocations: 168.2 kB / 0.6575 GB, free: 95.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.009885, allocations: 407.2 kB / 0.6579 GB, free: 95.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.009983, allocations: 242.5 kB / 0.6581 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.01004, allocations: 64.38 kB / 0.6582 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.01085, allocations: 1.003 MB / 0.6592 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01086, allocations: 0 / 0.6592 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.0109, allocations: 28 kB / 0.6592 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01091, allocations: 16 kB / 0.6592 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.01195, allocations: 0.9223 MB / 0.6601 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.01408, allocations: 2.272 MB / 0.6623 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.01474, allocations: 0.562 MB / 0.6629 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.01508, allocations: 313.8 kB / 0.6632 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.01512, allocations: 8.656 kB / 0.6632 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.01514, allocations: 43.22 kB / 0.6632 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 1.754e-06/0.01514, allocations: 0 / 0.6632 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.001153/0.01629, allocations: 0.9815 MB / 0.6642 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.01635, allocations: 214.3 kB / 0.6644 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.01662, allocations: 483.1 kB / 0.6648 GB, free: 88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.01665, allocations: 41.7 kB / 0.6649 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01676, allocations: 368.6 kB / 0.6652 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.01684, allocations: 269.6 kB / 0.6655 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.01696, allocations: 158.6 kB / 0.6656 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.01701, allocations: 370.8 kB / 0.666 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.01734, allocations: 273.8 kB / 0.6663 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.01776, allocations: 0.6771 MB / 0.6669 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.01853, allocations: 0.8071 MB / 0.6677 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01853, allocations: 4 kB / 0.6677 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.000918/0.01945, allocations: 0.8869 MB / 0.6686 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01947, allocations: 8 kB / 0.6686 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01947, allocations: 4.75 kB / 0.6686 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01949, allocations: 16 kB / 0.6686 GB, free: 83.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.02, allocations: 239.6 kB / 0.6688 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.02001, allocations: 23.86 kB / 0.6689 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.02028, allocations: 91.44 kB / 0.6689 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.02031, allocations: 35.98 kB / 0.669 GB, free: 83.48 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.0001474/0.02046, allocations: 206.2 kB / 0.6692 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.02051, allocations: 75.52 kB / 0.6692 GB, free: 83.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.02136, allocations: 0.8289 MB / 0.6701 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02137, allocations: 11.94 kB / 0.6701 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02137, allocations: 0 / 0.6701 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.02138, allocations: 7.922 kB / 0.6701 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.0227, allocations: 1.44 MB / 0.6715 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02271, allocations: 4.062 kB / 0.6715 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.02312, allocations: 203.6 kB / 0.6717 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02313, allocations: 4 kB / 0.6717 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.02315, allocations: 16 kB / 0.6717 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.02315, allocations: 4 kB / 0.6717 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02316, allocations: 192 / 0.6717 GB, free: 80.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.02393, allocations: 0.8855 MB / 0.6726 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.02398, allocations: 83.27 kB / 0.6726 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.02403, allocations: 20 kB / 0.6727 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.02425, allocations: 35.97 kB / 0.6727 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.02434, allocations: 60.55 kB / 0.6728 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.02436, allocations: 23.98 kB / 0.6728 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001799/0.02454, allocations: 330.9 kB / 0.6731 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02454, allocations: 0 / 0.6731 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003264/0.02487, allocations: 203.7 kB / 0.6733 GB, free: 78.95 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 8.069e-05/0.02495, allocations: 111.1 kB / 0.6734 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007832/0.02573, allocations: 0.7019 MB / 0.6741 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02573, allocations: 4.125 kB / 0.6741 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.02611, allocations: 363.5 kB / 0.6744 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.02651, allocations: 126.4 kB / 0.6745 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.0278, allocations: 1.435 MB / 0.6759 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02794, allocations: 337.6 kB / 0.6763 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.02814, allocations: 76.45 kB / 0.6763 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.02814, allocations: 0 / 0.6763 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.006428/0.03457, allocations: 9.838 MB / 0.686 GB, free: 65.92 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 > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.293160323984921]