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.0009606/0.0009606, allocations: 92.2 kB / 20.43 MB, free: 4.133 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.9123/0.9123, allocations: 177.2 MB / 200.8 MB, free: 5.535 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.001218/0.001218, allocations: 164.6 kB / 257.4 MB, free: 12.98 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.2737/0.2737, allocations: 80.25 MB / 394.2 MB, free: 3.172 MB / 362.7 MB " [Timeout remaining time 180] 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.0323/0.0323, allocations: 4.801 MB / 482.3 MB, free: 71.77 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5674 GB, free: 4.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.687e-05, allocations: 2.312 kB / 0.5674 GB, free: 4.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.005152/0.005169, allocations: 4.033 MB / 0.5713 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003352/0.008521, allocations: 1.687 MB / 0.5729 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.008835, allocations: 11.94 kB / 0.573 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.01026, allocations: 0.7926 MB / 0.5737 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.0108, allocations: 257.7 kB / 0.574 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.01167, allocations: 403 kB / 0.5744 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.01278, allocations: 1.07 MB / 0.5754 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.01349, allocations: 457.8 kB / 0.5758 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.01415, allocations: 0.5652 MB / 0.5764 GB, free: 11.62 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.01449, allocations: 378.8 kB / 0.5768 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.01458, allocations: 88 kB / 0.5768 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.01472, allocations: 100 kB / 0.5769 GB, free: 11.06 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.01482, allocations: 215.1 kB / 0.5771 GB, free: 10.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.01502, allocations: 303.1 kB / 0.5774 GB, free: 10.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.01554, allocations: 0.6849 MB / 0.5781 GB, free: 9.867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01554, allocations: 0 / 0.5781 GB, free: 9.867 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01554, allocations: 4 kB / 0.5781 GB, free: 9.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.01555, allocations: 0 / 0.5781 GB, free: 9.863 MB / 458.7 MB 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.001705/0.01726, allocations: 1.259 MB / 0.5793 GB, free: 8.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.01729, allocations: 8.031 kB / 0.5793 GB, free: 8.555 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004888/0.01778, allocations: 224.3 kB / 0.5796 GB, free: 8.336 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.01819, allocations: 426.6 kB / 0.58 GB, free: 7.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.01832, allocations: 242.5 kB / 0.5802 GB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.01839, allocations: 72.38 kB / 0.5803 GB, free: 7.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.01922, allocations: 0.8671 MB / 0.5811 GB, free: 6.574 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.01923, allocations: 0 / 0.5811 GB, free: 6.574 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.01928, allocations: 28 kB / 0.5811 GB, free: 6.547 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.0193, allocations: 16 kB / 0.5811 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.02009, allocations: 0.5616 MB / 0.5817 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.02247, allocations: 2.471 MB / 0.5841 GB, free: 3.426 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.02301, allocations: 392.1 kB / 0.5845 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.02326, allocations: 193.5 kB / 0.5847 GB, free: 2.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.02329, allocations: 16.64 kB / 0.5847 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.02332, allocations: 46.05 kB / 0.5847 GB, free: 2.766 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 1.663e-06/0.02332, allocations: 0 / 0.5847 GB, free: 2.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=78): time 0.0008669/0.02419, allocations: 0.6458 MB / 0.5854 GB, free: 2.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.02426, allocations: 222.3 kB / 0.5856 GB, free: 1.848 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.02482, allocations: 0.5143 MB / 0.5861 GB, free: 1.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.02485, allocations: 37.7 kB / 0.5861 GB, free: 1.277 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.02502, allocations: 419.3 kB / 0.5865 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.02515, allocations: 277.6 kB / 0.5868 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.02529, allocations: 160.2 kB / 0.5869 GB, free: 432 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.02543, allocations: 0.543 MB / 0.5875 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.02564, allocations: 141.9 kB / 0.5876 GB, free: 15.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.02604, allocations: 0.6534 MB / 0.5882 GB, free: 14.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.02664, allocations: 0.6468 MB / 0.5889 GB, free: 14.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.02665, allocations: 4 kB / 0.5889 GB, free: 14.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007557/0.0274, allocations: 0.6881 MB / 0.5895 GB, free: 13.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.02742, allocations: 8 kB / 0.5895 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.02742, allocations: 4 kB / 0.5895 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.02744, allocations: 12 kB / 0.5896 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.02796, allocations: 231.6 kB / 0.5898 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.02798, allocations: 15.94 kB / 0.5898 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.02823, allocations: 91.83 kB / 0.5899 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.02827, allocations: 35.98 kB / 0.5899 GB, free: 13.01 MB / 474.7 MB 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.0001548/0.02843, allocations: 216.2 kB / 0.5901 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.02851, allocations: 95.53 kB / 0.5902 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.02921, allocations: 0.5869 MB / 0.5908 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02921, allocations: 15.94 kB / 0.5908 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.02922, allocations: 3.984 kB / 0.5908 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.02922, allocations: 11.92 kB / 0.5908 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.0305, allocations: 1.257 MB / 0.592 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.03051, allocations: 4 kB / 0.592 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.03095, allocations: 187.7 kB / 0.5922 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.03095, allocations: 8.188 kB / 0.5922 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.03098, allocations: 15.98 kB / 0.5923 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.03098, allocations: 4 kB / 0.5923 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03099, allocations: 4 kB / 0.5923 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.03179, allocations: 0.7464 MB / 0.593 GB, free: 9.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.03184, allocations: 75.28 kB / 0.5931 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.0319, allocations: 20 kB / 0.5931 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.03211, allocations: 31.97 kB / 0.5931 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.03221, allocations: 64.48 kB / 0.5932 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.03223, allocations: 27.98 kB / 0.5932 GB, free: 9.516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.03244, allocations: 334.8 kB / 0.5935 GB, free: 9.191 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03244, allocations: 0 / 0.5935 GB, free: 9.191 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000366/0.03281, allocations: 199.7 kB / 0.5937 GB, free: 8.996 MB / 474.7 MB 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.643e-05/0.0329, allocations: 115.1 kB / 0.5938 GB, free: 8.871 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.03351, allocations: 0.4957 MB / 0.5943 GB, free: 8.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03351, allocations: 0 / 0.5943 GB, free: 8.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.0338, allocations: 264.5 kB / 0.5946 GB, free: 8.113 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.03421, allocations: 147.4 kB / 0.5947 GB, free: 7.973 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.03598, allocations: 1.417 MB / 0.5961 GB, free: 6.484 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.03618, allocations: 341.6 kB / 0.5964 GB, free: 6.125 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.03639, allocations: 76.41 kB / 0.5965 GB, free: 6.047 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03639, allocations: 4 kB / 0.5965 GB, free: 6.043 MB / 474.7 MB Notification: Performance of Templates: time 0.00834/0.04473, allocations: 9.817 MB / 0.6061 GB, free: 12.24 MB / 490.7 MB " [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: 4.25229810597375]