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.0009141/0.0009141, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9375/0.9375, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.001959/0.001959, allocations: 163.1 kB / 256.9 MB, free: 12.8 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.295/0.295, allocations: 80.24 MB / 393.7 MB, free: 1.992 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.02143/0.02143, allocations: 4.8 MB / 481.8 MB, free: 3.945 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.944e-06/1.944e-06, allocations: 0 / 0.5679 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.186e-05, allocations: 2.312 kB / 0.5679 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.003822/0.003854, allocations: 3.975 MB / 0.5718 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.006506, allocations: 1.688 MB / 0.5734 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.0068, allocations: 7.938 kB / 0.5734 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009224/0.007722, allocations: 0.7848 MB / 0.5742 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.00813, allocations: 249.8 kB / 0.5744 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.008832, allocations: 410.9 kB / 0.5748 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009242/0.009756, allocations: 1.077 MB / 0.5759 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.01034, allocations: 438 kB / 0.5763 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.01093, allocations: 0.5729 MB / 0.5768 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.01131, allocations: 374.8 kB / 0.5772 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.0114, allocations: 88 kB / 0.5773 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.01154, allocations: 103.9 kB / 0.5774 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01167, allocations: 215.1 kB / 0.5776 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.01187, allocations: 311.1 kB / 0.5779 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.01241, allocations: 0.6772 MB / 0.5785 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01241, allocations: 0 / 0.5785 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01241, allocations: 0 / 0.5785 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.01242, allocations: 0 / 0.5785 GB, free: 5.113 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.001356/0.01377, allocations: 1.278 MB / 0.5798 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01381, allocations: 8.031 kB / 0.5798 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.01426, allocations: 220.2 kB / 0.58 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.01477, allocations: 418.8 kB / 0.5804 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.0149, allocations: 242.5 kB / 0.5806 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.01496, allocations: 68.38 kB / 0.5807 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.01564, allocations: 0.8084 MB / 0.5815 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01566, allocations: 4 kB / 0.5815 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.0157, allocations: 27.94 kB / 0.5815 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01571, allocations: 20 kB / 0.5815 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.01625, allocations: 477.7 kB / 0.582 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.01873, allocations: 2.413 MB / 0.5844 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.01911, allocations: 340.1 kB / 0.5847 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.01927, allocations: 156.8 kB / 0.5848 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.01931, allocations: 20.64 kB / 0.5848 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.01934, allocations: 49.98 kB / 0.5849 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.01934, allocations: 0 / 0.5849 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.0006333/0.01997, allocations: 0.556 MB / 0.5854 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.02004, allocations: 222.2 kB / 0.5856 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.02033, allocations: 0.5063 MB / 0.5861 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.02036, allocations: 37.7 kB / 0.5862 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.02055, allocations: 423.3 kB / 0.5866 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.02067, allocations: 273.6 kB / 0.5868 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.02081, allocations: 160.2 kB / 0.587 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.02095, allocations: 0.5545 MB / 0.5875 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.02108, allocations: 109.9 kB / 0.5876 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.02142, allocations: 0.6258 MB / 0.5883 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.02188, allocations: 0.5959 MB / 0.5888 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02188, allocations: 0 / 0.5888 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005913/0.02248, allocations: 0.6173 MB / 0.5894 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.02249, allocations: 8 kB / 0.5894 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.0225, allocations: 8.812 kB / 0.5895 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.02252, allocations: 12 kB / 0.5895 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.023, allocations: 227.7 kB / 0.5897 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.02301, allocations: 15.94 kB / 0.5897 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.02325, allocations: 99.31 kB / 0.5898 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.02329, allocations: 27.98 kB / 0.5898 GB, free: 8.82 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.0001493/0.02344, allocations: 212.3 kB / 0.59 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.02353, allocations: 95.53 kB / 0.5901 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.02434, allocations: 0.5323 MB / 0.5906 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.02435, allocations: 8 kB / 0.5906 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02435, allocations: 0 / 0.5906 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.02436, allocations: 7.984 kB / 0.5906 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.02541, allocations: 1.124 MB / 0.5917 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02541, allocations: 4.188 kB / 0.5917 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.02581, allocations: 183.8 kB / 0.5919 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02582, allocations: 4 kB / 0.5919 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.02584, allocations: 23.92 kB / 0.592 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.02585, allocations: 4 kB / 0.592 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.02585, allocations: 7.938 kB / 0.592 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.02638, allocations: 0.68 MB / 0.5926 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.02643, allocations: 75.34 kB / 0.5927 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.02648, allocations: 27.88 kB / 0.5927 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.02668, allocations: 35.97 kB / 0.5928 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.02676, allocations: 64.48 kB / 0.5928 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.02679, allocations: 16.05 kB / 0.5928 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001602/0.02695, allocations: 322.7 kB / 0.5931 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02695, allocations: 0 / 0.5931 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003549/0.0273, allocations: 195.7 kB / 0.5933 GB, free: 5.098 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.0001064/0.02741, allocations: 115.1 kB / 0.5934 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.02785, allocations: 448.5 kB / 0.5939 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02785, allocations: 0 / 0.5939 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.02807, allocations: 241 kB / 0.5941 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.02848, allocations: 134.1 kB / 0.5942 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.03015, allocations: 1.353 MB / 0.5955 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.721e-05/0.03024, allocations: 153.4 kB / 0.5957 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.03047, allocations: 89.12 kB / 0.5958 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.03084, allocations: 258.1 kB / 0.596 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of SimCode: time 9.01e-07/0.03084, allocations: 0 / 0.596 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of Templates: time 0.1639/0.1948, allocations: 10.26 MB / 0.606 GB, free: 168.3 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: 3.7688505318947136]