Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 103.9 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.0013, allocations: 189.3 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 125.4 MB / 417.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.91 kB / 0.4948 GB, free: 4.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.378, allocations: 78.57 MB / 0.5715 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002516/0.3806, allocations: 1.523 MB / 0.573 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.3815, allocations: 0.5756 MB / 0.5736 GB, free: 30 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3816, allocations: 2.031 kB / 0.5736 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.677e-05/0.3817, allocations: 9.844 kB / 0.5736 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.3817, allocations: 18.42 kB / 0.5736 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3821, allocations: 90.56 kB / 0.5737 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3822, allocations: 102.3 kB / 0.5738 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3823, allocations: 21.42 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3824, allocations: 42.52 kB / 0.5738 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.3825, allocations: 49.69 kB / 0.5739 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3826, allocations: 7.375 kB / 0.5739 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3827, allocations: 60.78 kB / 0.5739 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.3827, allocations: 20.7 kB / 0.574 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.3828, allocations: 38.11 kB / 0.574 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.383, allocations: 136.2 kB / 0.5741 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.383, allocations: 6.812 kB / 0.5741 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.383, allocations: 0 / 0.5741 GB, free: 29.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3831, allocations: 0 / 0.5741 GB, free: 29.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006768/0.3837, allocations: 453.5 kB / 0.5746 GB, free: 29.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3838, allocations: 10.34 kB / 0.5746 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3838, allocations: 9.719 kB / 0.5746 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.384, allocations: 200.4 kB / 0.5748 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.384, allocations: 7 kB / 0.5748 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.384, allocations: 3.938 kB / 0.5748 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3844, allocations: 111.9 kB / 0.5749 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3844, allocations: 4.703 kB / 0.5749 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3844, allocations: 5.031 kB / 0.5749 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3844, allocations: 4.562 kB / 0.5749 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.3847, allocations: 85.52 kB / 0.575 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.3853, allocations: 350.1 kB / 0.5753 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.3857, allocations: 97.02 kB / 0.5754 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3859, allocations: 57.36 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3859, allocations: 1.375 kB / 0.5755 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.3862, allocations: 115 kB / 0.5756 GB, free: 28.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3862, allocations: 1.188 kB / 0.5756 GB, free: 28.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006291/0.3868, allocations: 212.1 kB / 0.5758 GB, free: 28.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3869, allocations: 53.3 kB / 0.5758 GB, free: 28.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.387, allocations: 143 kB / 0.576 GB, free: 28.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.387, allocations: 26.98 kB / 0.576 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.387, allocations: 98.34 kB / 0.5761 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3871, allocations: 30.94 kB / 0.5761 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3871, allocations: 25.53 kB / 0.5761 GB, free: 28.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.3872, allocations: 329.9 kB / 0.5765 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3874, allocations: 54.17 kB / 0.5765 GB, free: 27.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3876, allocations: 63.94 kB / 0.5766 GB, free: 27.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3879, allocations: 149.7 kB / 0.5767 GB, free: 27.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3879, allocations: 0.5625 kB / 0.5767 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004434/0.3884, allocations: 193.1 kB / 0.5769 GB, free: 27.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3884, allocations: 33.89 kB / 0.5769 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3884, allocations: 0 / 0.5769 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3885, allocations: 5 kB / 0.5769 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3886, allocations: 19.41 kB / 0.577 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3886, allocations: 6.312 kB / 0.577 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3888, allocations: 17.69 kB / 0.577 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3888, allocations: 8.234 kB / 0.577 GB, free: 27.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 7.736e-05/0.3889, allocations: 124 kB / 0.5771 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3889, allocations: 7.875 kB / 0.5771 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3889, allocations: 14.86 kB / 0.5771 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.389, allocations: 5.031 kB / 0.5771 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.389, allocations: 0.75 kB / 0.5771 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.389, allocations: 0 / 0.5771 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3891, allocations: 207.4 kB / 0.5773 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3891, allocations: 1.656 kB / 0.5773 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3892, allocations: 20.91 kB / 0.5774 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3892, allocations: 1.156 kB / 0.5774 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3893, allocations: 2.156 kB / 0.5774 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3893, allocations: 4.844 kB / 0.5774 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3893, allocations: 5.875 kB / 0.5774 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.3897, allocations: 178.9 kB / 0.5775 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.3897, allocations: 84.89 kB / 0.5776 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3897, allocations: 9.75 kB / 0.5776 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3899, allocations: 17.55 kB / 0.5776 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.39, allocations: 13.22 kB / 0.5777 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.39, allocations: 4.453 kB / 0.5777 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.39, allocations: 108.3 kB / 0.5778 GB, free: 26.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.39, allocations: 0 / 0.5778 GB, free: 26.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3903, allocations: 44.56 kB / 0.5778 GB, free: 26.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001301/0.3904, allocations: 116.2 kB / 0.5779 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000451/0.3909, allocations: 191.2 kB / 0.5781 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3909, allocations: 0 / 0.5781 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3911, allocations: 63.22 kB / 0.5782 GB, free: 26.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.3913, allocations: 13.83 kB / 0.5782 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.3918, allocations: 253.8 kB / 0.5784 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3919, allocations: 0.7049 MB / 0.5791 GB, free: 25.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.392, allocations: 17.58 kB / 0.5791 GB, free: 25.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.392, allocations: 0 / 0.5791 GB, free: 25.88 MB / 446.1 MB Notification: Performance of Templates: time 0.003213/0.3952, allocations: 1.516 MB / 0.5806 GB, free: 25.37 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)