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.721/0.721, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 192.8 kB / 169.7 MB, free: 1.727 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.71/1.71, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0009064/0.000906, allocations: 87.67 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.203e-05, allocations: 0 / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 76.77 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5842/0.7483, allocations: 103.9 MB / 0.7297 GB, free: 9.465 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.7486, allocations: 74.52 kB / 0.7298 GB, free: 9.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006309/0.7549, allocations: 1.906 MB / 0.7317 GB, free: 7.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.755, allocations: 0 / 0.7317 GB, free: 7.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.755, allocations: 4 kB / 0.7317 GB, free: 7.758 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.0007616/0.7558, allocations: 472.5 kB / 0.7321 GB, free: 7.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.7559, allocations: 8.031 kB / 0.7321 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.7559, allocations: 38.55 kB / 0.7322 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.756, allocations: 15.73 kB / 0.7322 GB, free: 7.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.7563, allocations: 194 kB / 0.7324 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7563, allocations: 3.984 kB / 0.7324 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.7564, allocations: 15.81 kB / 0.7324 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.7566, allocations: 103 kB / 0.7325 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7566, allocations: 0 / 0.7325 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.7567, allocations: 3.953 kB / 0.7325 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.7567, allocations: 0 / 0.7325 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.7568, allocations: 66.42 kB / 0.7325 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007166/0.7576, allocations: 371 kB / 0.7329 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.7578, allocations: 94.14 kB / 0.733 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.7579, allocations: 78.31 kB / 0.7331 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.7579, allocations: 4 kB / 0.7331 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.7581, allocations: 109.7 kB / 0.7332 GB, free: 6.191 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.7581, allocations: 0 / 0.7332 GB, free: 6.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000417/0.7586, allocations: 186.2 kB / 0.7333 GB, free: 6.023 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.7587, allocations: 95.03 kB / 0.7334 GB, free: 5.918 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7588, allocations: 125.6 kB / 0.7336 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.7588, allocations: 25.7 kB / 0.7336 GB, free: 5.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.7589, allocations: 101.4 kB / 0.7337 GB, free: 5.676 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.7589, allocations: 35.17 kB / 0.7337 GB, free: 5.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.7589, allocations: 7.562 kB / 0.7337 GB, free: 5.641 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.7591, allocations: 322.1 kB / 0.734 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.7592, allocations: 50.61 kB / 0.7341 GB, free: 5.285 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.7593, allocations: 57.41 kB / 0.7341 GB, free: 5.246 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.7594, allocations: 118 kB / 0.7342 GB, free: 5.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7594, allocations: 0 / 0.7342 GB, free: 5.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003278/0.7598, allocations: 232.1 kB / 0.7345 GB, free: 4.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.7598, allocations: 70.83 kB / 0.7345 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7598, allocations: 4 kB / 0.7345 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7599, allocations: 4 kB / 0.7345 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.76, allocations: 23.97 kB / 0.7346 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.76, allocations: 0 / 0.7346 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.7602, allocations: 39.81 kB / 0.7346 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.7603, allocations: 7.984 kB / 0.7346 GB, free: 4.773 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.0001288/0.7604, allocations: 161.8 kB / 0.7348 GB, free: 4.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.7605, allocations: 8.094 kB / 0.7348 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.7605, allocations: 12.12 kB / 0.7348 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7605, allocations: 3.938 kB / 0.7348 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7605, allocations: 0 / 0.7348 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7605, allocations: 0 / 0.7348 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.7607, allocations: 206.6 kB / 0.735 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7607, allocations: 3.953 kB / 0.735 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.7609, allocations: 27.97 kB / 0.735 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7609, allocations: 0 / 0.735 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.7609, allocations: 4 kB / 0.735 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7609, allocations: 3.938 kB / 0.735 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7609, allocations: 4 kB / 0.735 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.7613, allocations: 247.9 kB / 0.7353 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.7613, allocations: 84.97 kB / 0.7353 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.7614, allocations: 8 kB / 0.7353 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.7615, allocations: 34.89 kB / 0.7354 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7617, allocations: 19.59 kB / 0.7354 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.7617, allocations: 7.984 kB / 0.7354 GB, free: 3.922 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.7618, allocations: 103.8 kB / 0.7355 GB, free: 3.832 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7618, allocations: 4 kB / 0.7355 GB, free: 3.828 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.762, allocations: 31.69 kB / 0.7355 GB, free: 3.801 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.0006622/0.7627, allocations: 0.7877 MB / 0.7363 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.763, allocations: 289.9 kB / 0.7366 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7631, allocations: 0 / 0.7366 GB, free: 2.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.7632, allocations: 171.6 kB / 0.7368 GB, free: 2.625 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.7634, allocations: 16.11 kB / 0.7368 GB, free: 2.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.7641, allocations: 249.8 kB / 0.737 GB, free: 2.359 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.7645, allocations: 0.7032 MB / 0.7377 GB, free: 1.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.688e-05/0.7646, allocations: 19.92 kB / 0.7377 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.7646, allocations: 28.11 kB / 0.7377 GB, free: 1.598 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7646, allocations: 0 / 0.7377 GB, free: 1.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.7809, allocations: 2.655 MB / 0.7403 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.7811, allocations: 163.1 kB / 0.7405 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.491, allocations: 64 / 0.7405 GB, free: 14.84 MB / 0.4948 GB (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)