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.000931/0.000931, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.9387/0.9387, allocations: 177.2 MB / 201 MB, free: 5.395 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.001203/0.001203, allocations: 161.4 kB / 257.7 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.3022/0.3022, allocations: 80.23 MB / 394.5 MB, free: 2.887 MB / 362.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.01961/0.01961, allocations: 4.792 MB / 482.6 MB, free: 71.63 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.323e-06/1.323e-06, allocations: 0 / 0.5686 GB, free: 3.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.299e-05, allocations: 5.969 kB / 0.5686 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.003231/0.003244, allocations: 3.971 MB / 0.5725 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.005826, allocations: 1.683 MB / 0.5742 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.006091, allocations: 7.938 kB / 0.5742 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.006868, allocations: 0.7848 MB / 0.5749 GB, free: 13.32 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.00719, allocations: 249.8 kB / 0.5752 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.00774, allocations: 411 kB / 0.5756 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.008483, allocations: 1.07 MB / 0.5766 GB, free: 11.6 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.008987, allocations: 445.9 kB / 0.577 GB, free: 11.15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000494/0.009481, allocations: 0.5729 MB / 0.5776 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.009815, allocations: 374.8 kB / 0.578 GB, free: 10.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-05/0.009908, allocations: 92 kB / 0.578 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.01004, allocations: 104 kB / 0.5781 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01016, allocations: 211.1 kB / 0.5783 GB, free: 9.809 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.01037, allocations: 307.1 kB / 0.5786 GB, free: 9.508 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.01087, allocations: 0.6848 MB / 0.5793 GB, free: 8.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.01087, allocations: 4 kB / 0.5793 GB, free: 8.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01087, allocations: 0 / 0.5793 GB, free: 8.816 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.01088, allocations: 0 / 0.5793 GB, free: 8.816 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.001597/0.01248, allocations: 1.263 MB / 0.5805 GB, free: 7.512 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.451e-05/0.0125, allocations: 16.02 kB / 0.5806 GB, free: 7.496 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.01294, allocations: 224.3 kB / 0.5808 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.01329, allocations: 414.7 kB / 0.5812 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.0134, allocations: 242.5 kB / 0.5814 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.01347, allocations: 68.38 kB / 0.5815 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.01412, allocations: 0.82 MB / 0.5823 GB, free: 5.578 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01413, allocations: 0 / 0.5823 GB, free: 5.578 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.01417, allocations: 32 kB / 0.5823 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.01418, allocations: 16 kB / 0.5823 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.01473, allocations: 481.7 kB / 0.5828 GB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.01687, allocations: 2.386 MB / 0.5851 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.01724, allocations: 344 kB / 0.5854 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.01741, allocations: 161.5 kB / 0.5856 GB, free: 2.102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01744, allocations: 12.66 kB / 0.5856 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.01746, allocations: 53.98 kB / 0.5856 GB, free: 2.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 1.462e-06/0.01746, allocations: 0 / 0.5856 GB, free: 2.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=78): time 0.0006116/0.01807, allocations: 0.5599 MB / 0.5862 GB, free: 1.461 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.01814, allocations: 214.3 kB / 0.5864 GB, free: 1.203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.0184, allocations: 0.5063 MB / 0.5869 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.01843, allocations: 41.7 kB / 0.5869 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.01859, allocations: 415.2 kB / 0.5873 GB, free: 228 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.01898, allocations: 273.6 kB / 0.5876 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.01911, allocations: 160.1 kB / 0.5877 GB, free: 15.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.01925, allocations: 0.5584 MB / 0.5883 GB, free: 15.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01938, allocations: 113.9 kB / 0.5884 GB, free: 15.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.0197, allocations: 0.6221 MB / 0.589 GB, free: 14.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.02014, allocations: 0.5959 MB / 0.5896 GB, free: 13.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.02015, allocations: 8 kB / 0.5896 GB, free: 13.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005877/0.02074, allocations: 0.6142 MB / 0.5902 GB, free: 12.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.02075, allocations: 8 kB / 0.5902 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02075, allocations: 8.094 kB / 0.5902 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.02076, allocations: 12 kB / 0.5902 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.02126, allocations: 231.7 kB / 0.5904 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.02126, allocations: 15.94 kB / 0.5905 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.02152, allocations: 87.39 kB / 0.5905 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.02156, allocations: 35.97 kB / 0.5906 GB, free: 12.54 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.0001423/0.0217, allocations: 212.3 kB / 0.5908 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.02179, allocations: 95.53 kB / 0.5909 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.02233, allocations: 0.5283 MB / 0.5914 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.02233, allocations: 8 kB / 0.5914 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02233, allocations: 7.922 kB / 0.5914 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.02234, allocations: 3.984 kB / 0.5914 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.02342, allocations: 1.121 MB / 0.5925 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.02342, allocations: 4 kB / 0.5925 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.02385, allocations: 183.8 kB / 0.5927 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.02385, allocations: 4 kB / 0.5927 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.02388, allocations: 23.94 kB / 0.5927 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.02389, allocations: 4 kB / 0.5927 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02389, allocations: 3.984 kB / 0.5927 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.02444, allocations: 0.6841 MB / 0.5934 GB, free: 9.539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.0245, allocations: 87.33 kB / 0.5935 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.02455, allocations: 19.94 kB / 0.5935 GB, free: 9.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.02476, allocations: 27.98 kB / 0.5935 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.02485, allocations: 60.55 kB / 0.5936 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.02488, allocations: 23.98 kB / 0.5936 GB, free: 9.324 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.02504, allocations: 318.7 kB / 0.5939 GB, free: 9.016 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02504, allocations: 0 / 0.5939 GB, free: 9.016 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006973/0.02574, allocations: 199.7 kB / 0.5941 GB, free: 8.82 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 0.000115/0.02586, allocations: 119.1 kB / 0.5942 GB, free: 8.695 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.02633, allocations: 432.6 kB / 0.5946 GB, free: 8.273 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02633, allocations: 4 kB / 0.5946 GB, free: 8.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.02655, allocations: 248.5 kB / 0.5949 GB, free: 8.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.02694, allocations: 146.4 kB / 0.595 GB, free: 7.879 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.02849, allocations: 1.349 MB / 0.5963 GB, free: 6.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.473e-05/0.02858, allocations: 153.3 kB / 0.5965 GB, free: 6.297 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.02883, allocations: 97.06 kB / 0.5965 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.02918, allocations: 254.1 kB / 0.5968 GB, free: 5.949 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/0.02918, allocations: 0 / 0.5968 GB, free: 5.949 MB / 474.7 MB Notification: Performance of Templates: time 0.01172/0.0409, allocations: 10.53 MB / 0.6071 GB, free: 11.59 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6721116527915]