Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",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.0009566/0.0009566, allocations: 99.86 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.0009388/0.0009389, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003357, allocations: 8 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 83.41 MB / 0.5974 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.5727/0.7558, allocations: 195 MB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.7771, allocations: 14.53 MB / 0.8019 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.7794, allocations: 51.62 kB / 0.802 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.783, allocations: 0.9489 MB / 0.8029 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.7931, allocations: 2.976 MB / 0.8058 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005192/0.7983, allocations: 1.542 MB / 0.8073 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.8034, allocations: 2.025 MB / 0.8093 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.8053, allocations: 0.9576 MB / 0.8102 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.8104, allocations: 1.702 MB / 0.8119 GB, free: 124 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.8121, allocations: 0.6922 MB / 0.8126 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.8122, allocations: 48 kB / 0.8126 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.8167, allocations: 1.673 MB / 0.8143 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.8171, allocations: 358.8 kB / 0.8146 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.8176, allocations: 332.9 kB / 0.8149 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.8205, allocations: 1.979 MB / 0.8169 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8205, allocations: 0 / 0.8169 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8206, allocations: 3.938 kB / 0.8169 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.8206, allocations: 4 kB / 0.8169 GB, free: 11.03 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004273/0.8249, allocations: 1.69 MB / 0.8185 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.8249, allocations: 11.97 kB / 0.8185 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000324/0.8253, allocations: 156.2 kB / 0.8187 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.8284, allocations: 0.5445 MB / 0.8192 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.8309, allocations: 1.068 MB / 0.8202 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009575/0.8319, allocations: 273.8 kB / 0.8205 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.832, allocations: 100 kB / 0.8206 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.8346, allocations: 1.328 MB / 0.8219 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.8346, allocations: 3.984 kB / 0.8219 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.8348, allocations: 47.89 kB / 0.822 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.8348, allocations: 49.98 kB / 0.822 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.8374, allocations: 1.104 MB / 0.8231 GB, free: 4.465 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007892/0.8453, allocations: 6.71 MB / 0.8296 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.8474, allocations: 0.6362 MB / 0.8303 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.879e-05/0.8475, allocations: 20.25 kB / 0.8303 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.8475, allocations: 42.84 kB / 0.8303 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/0.8475, allocations: 0 / 0.8303 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002534/0.8501, allocations: 0.9155 MB / 0.8312 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.8501, allocations: 59.34 kB / 0.8313 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.8518, allocations: 1.35 MB / 0.8326 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.8519, allocations: 37.7 kB / 0.8326 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.8524, allocations: 0.6755 MB / 0.8333 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.8526, allocations: 122.3 kB / 0.8334 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.8526, allocations: 12 kB / 0.8334 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8527, allocations: 330 kB / 0.8337 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008576/0.8536, allocations: 329.1 kB / 0.834 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8547, allocations: 0.6552 MB / 0.8347 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/0.8556, allocations: 391.6 kB / 0.835 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.8556, allocations: 4 kB / 0.835 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002312/0.858, allocations: 1.044 MB / 0.8361 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.8593, allocations: 3.906 MB / 0.8399 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.8593, allocations: 8 kB / 0.8399 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.8594, allocations: 16 kB / 0.8399 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.8602, allocations: 211.7 kB / 0.8401 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.8603, allocations: 19.92 kB / 0.8401 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8617, allocations: 235.8 kB / 0.8404 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.8618, allocations: 43.94 kB / 0.8404 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.8618, allocations: 12.5 kB / 0.8404 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002099/0.8639, allocations: 0.8979 MB / 0.8413 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.864, allocations: 8 kB / 0.8413 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.864, allocations: 16 kB / 0.8413 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.8648, allocations: 207.9 kB / 0.8415 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.8648, allocations: 15.94 kB / 0.8415 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.8661, allocations: 206.9 kB / 0.8417 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.8662, allocations: 39.98 kB / 0.8418 GB, free: 440 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0005967/0.8668, allocations: 413.3 kB / 0.8421 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.867, allocations: 138.5 kB / 0.8423 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.8687, allocations: 0.6869 MB / 0.843 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8687, allocations: 4 kB / 0.843 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8687, allocations: 0 / 0.843 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.8688, allocations: 3.984 kB / 0.843 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.8732, allocations: 2.543 MB / 0.8454 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.8733, allocations: 8 kB / 0.8455 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.8738, allocations: 112 kB / 0.8456 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.8738, allocations: 12 kB / 0.8456 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.8738, allocations: 16 kB / 0.8456 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.8739, allocations: 15.55 kB / 0.8456 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8739, allocations: 11.94 kB / 0.8456 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.8759, allocations: 1.402 MB / 0.847 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005447/0.8764, allocations: 295.2 kB / 0.8473 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.8766, allocations: 15.95 kB / 0.8473 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.8777, allocations: 111.9 kB / 0.8474 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.8779, allocations: 51.73 kB / 0.8474 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.8779, allocations: 35.91 kB / 0.8475 GB, free: 10.05 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001509/0.8794, allocations: 0.9239 MB / 0.8484 GB, free: 9.125 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8795, allocations: 0 / 0.8484 GB, free: 9.125 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00199/0.8814, allocations: 0.5849 MB / 0.8489 GB, free: 8.539 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003461/0.8849, allocations: 4.153 MB / 0.853 GB, free: 4.156 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.8879, allocations: 1.155 MB / 0.8541 GB, free: 3.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8879, allocations: 0 / 0.8541 GB, free: 3.004 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.8887, allocations: 297.1 kB / 0.8544 GB, free: 2.715 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.8918, allocations: 0.6291 MB / 0.855 GB, free: 2.094 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2881/1.18, allocations: 10.16 MB / 0.8649 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/1.18, allocations: 1.211 MB / 0.8661 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001532/1.182, allocations: 352.7 kB / 0.8665 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/1.183, allocations: 486.8 kB / 0.8669 GB, free: 198.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.994e-06/1.183, allocations: 0 / 0.8669 GB, free: 198.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/1.247, allocations: 32.62 MB / 0.8988 GB, free: 194.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/1.247, allocations: 224.6 kB / 0.899 GB, free: 194.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.747, allocations: 4 kB / 0.899 GB, free: 194.3 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: