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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001516/0.001516, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.744/1.744, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.259/1.259, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004572, allocations: 8 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2592, allocations: 83.42 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002302/0.2615, allocations: 1.249 MB / 0.5987 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2628, allocations: 0.5303 MB / 0.5993 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.629e-05/0.263, allocations: 0 / 0.5993 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2631, allocations: 7.922 kB / 0.5993 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.2632, allocations: 19.8 kB / 0.5993 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.2637, allocations: 71.84 kB / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2639, allocations: 79.7 kB / 0.5994 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2641, allocations: 12.23 kB / 0.5994 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2643, allocations: 43.83 kB / 0.5995 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2644, allocations: 39.83 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.2644, allocations: 4 kB / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2646, allocations: 51.97 kB / 0.5996 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.2646, allocations: 19.89 kB / 0.5996 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.2647, allocations: 37.64 kB / 0.5996 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.2649, allocations: 96.05 kB / 0.5997 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.265, allocations: 0 / 0.5997 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.897e-06/0.265, allocations: 4 kB / 0.5997 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.265, allocations: 0 / 0.5997 GB, free: 5.43 MB / 0.4981 GB 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.001006/0.266, allocations: 440.7 kB / 0.6002 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.2661, allocations: 15.97 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.2661, allocations: 42.55 kB / 0.6002 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.2662, allocations: 7.906 kB / 0.6002 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.2665, allocations: 197 kB / 0.6004 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2665, allocations: 3.984 kB / 0.6004 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2666, allocations: 8 kB / 0.6004 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.2669, allocations: 109.6 kB / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.267, allocations: 0 / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.267, allocations: 0 / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.267, allocations: 11.98 kB / 0.6005 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.2674, allocations: 107.9 kB / 0.6006 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.2681, allocations: 364.6 kB / 0.601 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.2685, allocations: 98.52 kB / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.2687, allocations: 76.81 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2687, allocations: 0 / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.2691, allocations: 135.2 kB / 0.6013 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.2691, allocations: 0 / 0.6013 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007327/0.2698, allocations: 237.4 kB / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.2699, allocations: 51.41 kB / 0.6016 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2701, allocations: 141.8 kB / 0.6017 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2701, allocations: 29.7 kB / 0.6017 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.2702, allocations: 104 kB / 0.6018 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.2702, allocations: 23.78 kB / 0.6018 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.2703, allocations: 0 / 0.6018 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2704, allocations: 322.8 kB / 0.6021 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2706, allocations: 67.95 kB / 0.6022 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.2708, allocations: 71.98 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.271, allocations: 93.67 kB / 0.6024 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2711, allocations: 3.984 kB / 0.6024 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004733/0.2715, allocations: 223 kB / 0.6026 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.2716, allocations: 33.69 kB / 0.6026 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2716, allocations: 0 / 0.6026 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2716, allocations: 0 / 0.6026 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2718, allocations: 23.98 kB / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2718, allocations: 4.062 kB / 0.6026 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.2719, allocations: 31.91 kB / 0.6027 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.272, allocations: 4 kB / 0.6027 GB, free: 2.156 MB / 0.4981 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: 1 * Algorithm blocks: 1 * 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.000131/0.2721, allocations: 117.8 kB / 0.6028 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.2721, allocations: 12.33 kB / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.2722, allocations: 12.7 kB / 0.6028 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.2722, allocations: 4 kB / 0.6028 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2722, allocations: 7.938 kB / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2723, allocations: 0 / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.2725, allocations: 201.5 kB / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2725, allocations: 0 / 0.603 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2726, allocations: 23.92 kB / 0.603 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2726, allocations: 0 / 0.603 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2727, allocations: 7.938 kB / 0.603 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2727, allocations: 4 kB / 0.6031 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2727, allocations: 0 / 0.6031 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.2731, allocations: 208.8 kB / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.2732, allocations: 89.02 kB / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2732, allocations: 0 / 0.6033 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2734, allocations: 19.94 kB / 0.6034 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.2735, allocations: 23.95 kB / 0.6034 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2735, allocations: 0 / 0.6034 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.2736, allocations: 113.3 kB / 0.6035 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2736, allocations: 0 / 0.6035 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002788/0.2739, allocations: 32 kB / 0.6035 GB, free: 1.199 MB / 0.4981 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: 1 * Algorithm blocks: 0 * 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.001065/0.2749, allocations: 0.749 MB / 0.6042 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.2755, allocations: 207.2 kB / 0.6044 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2755, allocations: 0 / 0.6044 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2757, allocations: 75.95 kB / 0.6045 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.276, allocations: 20.06 kB / 0.6045 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4438/0.7198, allocations: 0.8091 MB / 0.6053 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.7201, allocations: 0.7021 MB / 0.606 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.7202, allocations: 12.22 kB / 0.606 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.7203, allocations: 25.19 kB / 0.6061 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.7203, allocations: 0 / 0.6061 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.7343, allocations: 2.425 MB / 0.6084 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.7345, allocations: 199.6 kB / 0.6086 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.875, allocations: 3.938 kB / 0.6086 GB, free: 39.5 MB / 0.4981 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) Environment - environmentSimulation: