Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7209/0.7209, allocations: 127.4 MB / 134.9 MB, free: 3.711 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 176.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008461/0.000846, allocations: 79.58 kB / 476.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.624e-05, allocations: 4 kB / 0.5467 GB, free: 60.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5663/0.7277, allocations: 103.6 MB / 0.7228 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.728, allocations: 77.02 kB / 0.7229 GB, free: 11.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005994/0.734, allocations: 1.885 MB / 0.7247 GB, free: 10.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.734, allocations: 0 / 0.7247 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.7341, allocations: 8 kB / 0.7247 GB, free: 10.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007153/0.7348, allocations: 474.4 kB / 0.7252 GB, free: 9.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.7348, allocations: 8.031 kB / 0.7252 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.7349, allocations: 15.86 kB / 0.7252 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.7352, allocations: 198.7 kB / 0.7254 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.7352, allocations: 4 kB / 0.7254 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.7352, allocations: 8 kB / 0.7254 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001854/0.7354, allocations: 54.86 kB / 0.7255 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.7356, allocations: 104.1 kB / 0.7256 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7357, allocations: 3.953 kB / 0.7256 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7357, allocations: 0 / 0.7256 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7357, allocations: 0 / 0.7256 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.7363, allocations: 335.6 kB / 0.7259 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.7365, allocations: 89.81 kB / 0.726 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/0.7366, allocations: 67.41 kB / 0.726 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.7367, allocations: 7.938 kB / 0.7261 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.7369, allocations: 118.7 kB / 0.7262 GB, free: 8.594 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.7369, allocations: 0 / 0.7262 GB, free: 8.594 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003247/0.7372, allocations: 144.4 kB / 0.7263 GB, free: 8.473 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.7373, allocations: 85.09 kB / 0.7264 GB, free: 8.371 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.7374, allocations: 127.2 kB / 0.7265 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.7374, allocations: 25.7 kB / 0.7265 GB, free: 8.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.7375, allocations: 110 kB / 0.7266 GB, free: 8.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.7376, allocations: 27 kB / 0.7267 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.7376, allocations: 8 kB / 0.7267 GB, free: 8.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7377, allocations: 318.7 kB / 0.727 GB, free: 7.777 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.7378, allocations: 55.09 kB / 0.727 GB, free: 7.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.7379, allocations: 51.48 kB / 0.7271 GB, free: 7.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.978e-05/0.738, allocations: 51.28 kB / 0.7271 GB, free: 7.668 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.738, allocations: 0 / 0.7271 GB, free: 7.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000248/0.7383, allocations: 156.2 kB / 0.7273 GB, free: 7.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.7383, allocations: 72.42 kB / 0.7273 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7383, allocations: 0 / 0.7273 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7384, allocations: 8.875 kB / 0.7273 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.7385, allocations: 23.97 kB / 0.7274 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.7385, allocations: 0 / 0.7274 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.7387, allocations: 35.81 kB / 0.7274 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.7388, allocations: 11.73 kB / 0.7274 GB, free: 7.387 MB / 490.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.7389, allocations: 158.5 kB / 0.7276 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000254/0.7392, allocations: 160.1 kB / 0.7277 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.7392, allocations: 11.91 kB / 0.7277 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.7392, allocations: 20.48 kB / 0.7278 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7393, allocations: 0 / 0.7278 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7393, allocations: 3.938 kB / 0.7278 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7393, allocations: 192 / 0.7278 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.7395, allocations: 181.6 kB / 0.7279 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7395, allocations: 7.922 kB / 0.7279 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.7396, allocations: 35.86 kB / 0.728 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7396, allocations: 0 / 0.728 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.7396, allocations: 4 kB / 0.728 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7396, allocations: 0 / 0.728 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7396, allocations: 0 / 0.728 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.7399, allocations: 191.4 kB / 0.7282 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.74, allocations: 93 kB / 0.7282 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.74, allocations: 3.953 kB / 0.7282 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.7402, allocations: 27.97 kB / 0.7283 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7403, allocations: 31.52 kB / 0.7283 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.7404, allocations: 0 / 0.7283 GB, free: 6.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.7404, allocations: 106 kB / 0.7284 GB, free: 6.387 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7404, allocations: 0 / 0.7284 GB, free: 6.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.7407, allocations: 28 kB / 0.7284 GB, free: 6.359 MB / 490.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005773/0.7412, allocations: 0.7358 MB / 0.7292 GB, free: 5.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.7416, allocations: 280.4 kB / 0.7294 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7416, allocations: 0 / 0.7294 GB, free: 5.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.7418, allocations: 170 kB / 0.7296 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.742, allocations: 11.75 kB / 0.7296 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.7426, allocations: 241 kB / 0.7298 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.743, allocations: 0.7081 MB / 0.7305 GB, free: 4.254 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.743, allocations: 15.98 kB / 0.7305 GB, free: 4.238 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.7431, allocations: 30.55 kB / 0.7306 GB, free: 4.223 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7431, allocations: 0 / 0.7306 GB, free: 4.223 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.7648, allocations: 2.296 MB / 0.7328 GB, free: 1.949 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.7651, allocations: 157.1 kB / 0.733 GB, free: 1.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.366, allocations: 0 / 0.733 GB, free: 1.75 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)