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.001175/0.001176, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001103/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 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.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9908/0.9908, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 83.42 MB / 0.5973 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.00261/0.1883, allocations: 1.237 MB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1898, allocations: 0.5342 MB / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.1899, allocations: 0 / 0.5991 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.19, allocations: 7.938 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.365e-05/0.1902, allocations: 23.89 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1907, allocations: 67.8 kB / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1908, allocations: 55.91 kB / 0.5992 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.191, allocations: 16.22 kB / 0.5992 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1912, allocations: 39.84 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1913, allocations: 47.81 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1914, allocations: 0 / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1916, allocations: 43.97 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1916, allocations: 15.92 kB / 0.5994 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.1917, allocations: 37.64 kB / 0.5994 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.192, allocations: 96.03 kB / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.192, allocations: 0 / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.192, allocations: 4 kB / 0.5995 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.192, allocations: 0 / 0.5995 GB, free: 5.477 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.001098/0.1931, allocations: 452.6 kB / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1932, allocations: 8.031 kB / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.1933, allocations: 34.56 kB / 0.6 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1933, allocations: 11.91 kB / 0.6 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1936, allocations: 197.1 kB / 0.6002 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1937, allocations: 4 kB / 0.6002 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1937, allocations: 4 kB / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.1942, allocations: 121.5 kB / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1942, allocations: 0 / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1943, allocations: 0 / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.1943, allocations: 4 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.195, allocations: 111.9 kB / 0.6004 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.196, allocations: 352.7 kB / 0.6008 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.1966, allocations: 106.5 kB / 0.6009 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1967, allocations: 11.94 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.1972, allocations: 127.4 kB / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 6.111e-06/0.1972, allocations: 0 / 0.601 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001261/0.1985, allocations: 318.5 kB / 0.6013 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1986, allocations: 55.41 kB / 0.6013 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1988, allocations: 133.8 kB / 0.6015 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1988, allocations: 29.7 kB / 0.6015 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1989, allocations: 107.9 kB / 0.6016 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.199, allocations: 19.72 kB / 0.6016 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.199, allocations: 4.109 kB / 0.6016 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1992, allocations: 326.8 kB / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.1996, allocations: 63.95 kB / 0.602 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.2, allocations: 71.95 kB / 0.6021 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2003, allocations: 89.66 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2004, allocations: 4 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000946/0.2013, allocations: 223 kB / 0.6024 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.2014, allocations: 33.69 kB / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2014, allocations: 4.078 kB / 0.6024 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2014, allocations: 4 kB / 0.6024 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2017, allocations: 23.92 kB / 0.6024 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2017, allocations: 3.984 kB / 0.6024 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.202, allocations: 27.91 kB / 0.6025 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.2021, allocations: 4 kB / 0.6025 GB, free: 2.18 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.0001497/0.2022, allocations: 121.8 kB / 0.6026 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.2023, allocations: 12.33 kB / 0.6026 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.2024, allocations: 20.7 kB / 0.6026 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.2024, allocations: 3.938 kB / 0.6026 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2024, allocations: 4 kB / 0.6026 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2024, allocations: 3.984 kB / 0.6026 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.2027, allocations: 197.5 kB / 0.6028 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2027, allocations: 0 / 0.6028 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.203, allocations: 23.98 kB / 0.6028 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.203, allocations: 0 / 0.6028 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.203, allocations: 11.94 kB / 0.6028 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2031, allocations: 0 / 0.6028 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2031, allocations: 3.938 kB / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.2039, allocations: 196.8 kB / 0.603 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.204, allocations: 85.02 kB / 0.6031 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.2041, allocations: 4 kB / 0.6031 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2043, allocations: 31.92 kB / 0.6032 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.2044, allocations: 11.97 kB / 0.6032 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2045, allocations: 8 kB / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000111/0.2046, allocations: 105.1 kB / 0.6033 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2046, allocations: 3.938 kB / 0.6033 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004285/0.205, allocations: 32 kB / 0.6033 GB, free: 1.219 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.001368/0.2064, allocations: 0.749 MB / 0.604 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.2073, allocations: 203.2 kB / 0.6042 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2074, allocations: 0 / 0.6042 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.2078, allocations: 79.88 kB / 0.6043 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2081, allocations: 24.11 kB / 0.6043 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2529/0.461, allocations: 0.8103 MB / 0.6051 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4611, allocations: 0.703 MB / 0.6058 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.848e-05/0.4612, allocations: 13.98 kB / 0.6058 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.4613, allocations: 32.75 kB / 0.6059 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.4613, allocations: 0 / 0.6059 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.4734, allocations: 2.398 MB / 0.6082 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.4736, allocations: 189.9 kB / 0.6084 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.231, allocations: 0 / 0.6084 GB, free: 39.61 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: