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.001482/0.001482, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9806/0.9806, allocations: 177.2 MB / 200 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.001451/0.001451, allocations: 156.6 kB / 256.6 MB, free: 12.99 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.3079/0.3079, allocations: 80.24 MB / 393.4 MB, free: 2.168 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.02073/0.02073, allocations: 4.803 MB / 481.5 MB, free: 4.016 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.094e-06/2.094e-06, allocations: 0 / 0.5674 GB, free: 332 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.319e-05, allocations: 5.828 kB / 0.5674 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.003958/0.003991, allocations: 4.018 MB / 0.5713 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.006488, allocations: 1.688 MB / 0.573 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.006836, allocations: 7.938 kB / 0.573 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.007899, allocations: 0.7926 MB / 0.5737 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.008401, allocations: 249.8 kB / 0.574 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.009188, allocations: 410.9 kB / 0.5744 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.01019, allocations: 1.077 MB / 0.5754 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.01096, allocations: 453.9 kB / 0.5759 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008279/0.01179, allocations: 0.5651 MB / 0.5764 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.01222, allocations: 378.8 kB / 0.5768 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.01234, allocations: 88 kB / 0.5769 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.0125, allocations: 103.9 kB / 0.577 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01261, allocations: 215.1 kB / 0.5772 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.01285, allocations: 303.1 kB / 0.5775 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.01397, allocations: 0.681 MB / 0.5781 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01398, allocations: 4 kB / 0.5781 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01398, allocations: 4 kB / 0.5781 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.01399, allocations: 0 / 0.5781 GB, free: 5.262 MB / 0.4948 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.001642/0.01563, allocations: 1.259 MB / 0.5794 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.01567, allocations: 8.031 kB / 0.5794 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.01621, allocations: 224.2 kB / 0.5796 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.01666, allocations: 422.8 kB / 0.58 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.01681, allocations: 246.5 kB / 0.5802 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.01688, allocations: 64.38 kB / 0.5803 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.01779, allocations: 0.867 MB / 0.5811 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01781, allocations: 0 / 0.5811 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.01785, allocations: 28 kB / 0.5812 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01787, allocations: 16 kB / 0.5812 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.01868, allocations: 0.5617 MB / 0.5817 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.02123, allocations: 2.487 MB / 0.5841 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.02179, allocations: 388.1 kB / 0.5845 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.02205, allocations: 197.5 kB / 0.5847 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.02209, allocations: 20.66 kB / 0.5847 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.02211, allocations: 45.98 kB / 0.5848 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.195e-06/0.02212, allocations: 0 / 0.5848 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.001166/0.02328, allocations: 0.6497 MB / 0.5854 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.02335, allocations: 214.3 kB / 0.5856 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.02369, allocations: 0.5143 MB / 0.5861 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.02373, allocations: 37.7 kB / 0.5861 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.02391, allocations: 415.4 kB / 0.5865 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.02404, allocations: 273.6 kB / 0.5868 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.02419, allocations: 156.2 kB / 0.5869 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.02434, allocations: 0.543 MB / 0.5875 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.02456, allocations: 149.9 kB / 0.5876 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.02498, allocations: 0.6532 MB / 0.5883 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.02562, allocations: 0.6545 MB / 0.5889 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.02563, allocations: 4 kB / 0.5889 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007784/0.0264, allocations: 0.6804 MB / 0.5896 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.02642, allocations: 8 kB / 0.5896 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.02643, allocations: 8 kB / 0.5896 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.02645, allocations: 12 kB / 0.5896 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.02699, allocations: 227.7 kB / 0.5898 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.027, allocations: 19.88 kB / 0.5898 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.02727, allocations: 91.8 kB / 0.5899 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.02731, allocations: 47.97 kB / 0.59 GB, free: 8.391 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.0001575/0.02747, allocations: 208.3 kB / 0.5902 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.02756, allocations: 99.53 kB / 0.5903 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.02829, allocations: 0.5791 MB / 0.5908 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.02829, allocations: 15.98 kB / 0.5908 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0283, allocations: 0 / 0.5908 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.02831, allocations: 7.922 kB / 0.5908 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.02991, allocations: 1.265 MB / 0.5921 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02992, allocations: 0 / 0.5921 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.03036, allocations: 183.7 kB / 0.5923 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.03037, allocations: 8.188 kB / 0.5923 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.0304, allocations: 23.98 kB / 0.5923 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.0304, allocations: 7.938 kB / 0.5923 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.0304, allocations: 0 / 0.5923 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.0311, allocations: 0.7425 MB / 0.593 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.03117, allocations: 79.28 kB / 0.5931 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.03123, allocations: 19.94 kB / 0.5931 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.03144, allocations: 35.97 kB / 0.5931 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.03155, allocations: 60.55 kB / 0.5932 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.03158, allocations: 27.98 kB / 0.5932 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002206/0.0318, allocations: 334.8 kB / 0.5936 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0318, allocations: 0 / 0.5936 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003961/0.0322, allocations: 199.7 kB / 0.5937 GB, free: 4.387 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.0001048/0.0323, allocations: 107.1 kB / 0.5938 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006285/0.03293, allocations: 0.5037 MB / 0.5943 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.03293, allocations: 0 / 0.5943 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.03322, allocations: 268.5 kB / 0.5946 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.03367, allocations: 145.3 kB / 0.5947 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.03554, allocations: 1.372 MB / 0.5961 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.993e-05/0.03563, allocations: 153.4 kB / 0.5962 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.03588, allocations: 97.11 kB / 0.5963 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.03605, allocations: 72.45 kB / 0.5964 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/0.03605, allocations: 0 / 0.5964 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.1621/0.1982, allocations: 10.02 MB / 0.6062 GB, free: 168.4 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: 4.013215112965554]