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.7349/0.7349, allocations: 128.7 MB / 143.7 MB, free: 2.34 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.001253/0.001253, allocations: 188 kB / 173.7 MB, free: 6.145 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.654/1.654, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009343/0.0009342, allocations: 102.9 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005105, allocations: 9.031 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1719, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.3224, allocations: 104 MB / 0.737 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.3227, allocations: 75.95 kB / 0.737 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005972/0.3287, allocations: 1.921 MB / 0.7389 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3287, allocations: 0 / 0.7389 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3287, allocations: 0 / 0.7389 GB, free: 4.332 MB / 0.5105 GB 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.000824/0.3295, allocations: 482.3 kB / 0.7394 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.3296, allocations: 8.031 kB / 0.7394 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.3297, allocations: 34.56 kB / 0.7394 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.3298, allocations: 19.86 kB / 0.7394 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.3302, allocations: 202.8 kB / 0.7396 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3302, allocations: 7.984 kB / 0.7396 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3302, allocations: 15.94 kB / 0.7397 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.3306, allocations: 128.1 kB / 0.7398 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3307, allocations: 7.984 kB / 0.7398 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3307, allocations: 7.953 kB / 0.7398 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3307, allocations: 0 / 0.7398 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3311, allocations: 135.8 kB / 0.7399 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.3318, allocations: 356.7 kB / 0.7403 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.3322, allocations: 146.4 kB / 0.7404 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3323, allocations: 4 kB / 0.7404 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/0.3326, allocations: 143.4 kB / 0.7405 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.3327, allocations: 0 / 0.7405 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0009991/0.3337, allocations: 418.4 kB / 0.7409 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.3338, allocations: 93.09 kB / 0.741 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3339, allocations: 122.5 kB / 0.7411 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.334, allocations: 33.69 kB / 0.7412 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3341, allocations: 99.98 kB / 0.7413 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.3341, allocations: 31.59 kB / 0.7413 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.3342, allocations: 8 kB / 0.7413 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3344, allocations: 322.8 kB / 0.7416 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3346, allocations: 83.94 kB / 0.7417 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3349, allocations: 87.94 kB / 0.7418 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3351, allocations: 143.3 kB / 0.7419 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3352, allocations: 7.953 kB / 0.7419 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006355/0.3358, allocations: 296.9 kB / 0.7422 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.371e-05/0.3359, allocations: 75.33 kB / 0.7423 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3359, allocations: 4 kB / 0.7423 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.336, allocations: 4 kB / 0.7423 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3361, allocations: 23.97 kB / 0.7423 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3361, allocations: 0 / 0.7423 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.3363, allocations: 39.81 kB / 0.7424 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.3364, allocations: 8.453 kB / 0.7424 GB, free: 0.5078 MB / 0.5105 GB 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 () * Number of clocked 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.0001628/0.3366, allocations: 163.5 kB / 0.7425 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3366, allocations: 15.86 kB / 0.7425 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.3366, allocations: 16.66 kB / 0.7425 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3367, allocations: 4 kB / 0.7425 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3367, allocations: 0 / 0.7425 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3367, allocations: 3.938 kB / 0.7426 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3369, allocations: 201.6 kB / 0.7427 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3369, allocations: 0 / 0.7427 GB, free: 48 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.337, allocations: 31.92 kB / 0.7428 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.337, allocations: 0 / 0.7428 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.337, allocations: 0 / 0.7428 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.337, allocations: 4 kB / 0.7428 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3371, allocations: 0 / 0.7428 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3036/0.6407, allocations: 301.8 kB / 0.7431 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.6407, allocations: 84.7 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6408, allocations: 11.22 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.641, allocations: 32.58 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6411, allocations: 25.58 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.6411, allocations: 4.422 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.6412, allocations: 107.6 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6412, allocations: 0 / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002607/0.6415, allocations: 36.28 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB 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: 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.0007232/0.6422, allocations: 0.8469 MB / 0.7442 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.6427, allocations: 360.2 kB / 0.7445 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6428, allocations: 1.875 kB / 0.7445 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.643, allocations: 198 kB / 0.7447 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.6432, allocations: 8.359 kB / 0.7447 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.6447, allocations: 0.9911 MB / 0.7457 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.6448, allocations: 0.7033 MB / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.6449, allocations: 11.22 kB / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.6449, allocations: 28.75 kB / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.645, allocations: 0 / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.6579, allocations: 2.666 MB / 0.749 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.658, allocations: 189.7 kB / 0.7492 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.132, allocations: 3.094 kB / 0.7492 GB, free: 107.1 MB / 0.5105 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)