Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_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.001073/0.001073, allocations: 101 kB / 16.27 MB, free: 5.93 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.00107/0.00107, allocations: 186.2 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.71/0.71, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2844, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.4613/0.7457, allocations: 237.5 MB / 0.7992 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.7619, allocations: 15.78 MB / 0.8146 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.7643, allocations: 59.25 kB / 0.8147 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.7666, allocations: 1.044 MB / 0.8157 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.7742, allocations: 2.977 MB / 0.8186 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.7785, allocations: 1.667 MB / 0.8203 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.7827, allocations: 3.434 MB / 0.8236 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.7843, allocations: 1.287 MB / 0.8249 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004971/0.7893, allocations: 2.489 MB / 0.8273 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.7909, allocations: 1.085 MB / 0.8284 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.7911, allocations: 118.5 kB / 0.8285 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/0.796, allocations: 3.089 MB / 0.8315 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.7964, allocations: 479.2 kB / 0.8319 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.7972, allocations: 0.8135 MB / 0.8327 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.8012, allocations: 2.936 MB / 0.8356 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8012, allocations: 0 / 0.8356 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8012, allocations: 4 kB / 0.8356 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.8012, allocations: 0 / 0.8356 GB, free: 14.76 MB / 0.5919 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.0032/0.8044, allocations: 1.997 MB / 0.8376 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.8045, allocations: 11.59 kB / 0.8376 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.8046, allocations: 155.1 kB / 0.8377 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.8073, allocations: 0.4935 MB / 0.8382 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.8091, allocations: 1.108 MB / 0.8393 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008894/0.81, allocations: 247.8 kB / 0.8395 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.8101, allocations: 100.7 kB / 0.8396 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.8122, allocations: 1.367 MB / 0.8409 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.8123, allocations: 6.375 kB / 0.8409 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.8124, allocations: 46.53 kB / 0.841 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.8124, allocations: 48.62 kB / 0.841 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.8147, allocations: 1.086 MB / 0.8421 GB, free: 10.48 MB / 0.5919 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.006587/0.8213, allocations: 7.438 MB / 0.8494 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.823, allocations: 0.5657 MB / 0.8499 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.8236, allocations: 270.5 kB / 0.8502 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/0.8239, allocations: 283.9 kB / 0.8504 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.824, allocations: 37.03 kB / 0.8505 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.824, allocations: 0 / 0.8505 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002354/0.8263, allocations: 0.8771 MB / 0.8513 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.8264, allocations: 55.41 kB / 0.8514 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.828, allocations: 1.399 MB / 0.8528 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.8281, allocations: 33.7 kB / 0.8528 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.8285, allocations: 0.6978 MB / 0.8535 GB, free: 284 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/0.8286, allocations: 124.7 kB / 0.8536 GB, free: 160 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.8289, allocations: 162.9 kB / 0.8537 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.829, allocations: 333.8 kB / 0.8541 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/0.8299, allocations: 332.6 kB / 0.8544 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.831, allocations: 0.7006 MB / 0.8551 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.8327, allocations: 0.9532 MB / 0.856 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8327, allocations: 4 kB / 0.856 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002303/0.835, allocations: 1.068 MB / 0.857 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.835, allocations: 22.05 kB / 0.8571 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8351, allocations: 8 kB / 0.8571 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8351, allocations: 16 kB / 0.8571 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.8359, allocations: 212.6 kB / 0.8573 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.836, allocations: 17.06 kB / 0.8573 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8373, allocations: 194.6 kB / 0.8575 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.8374, allocations: 47.98 kB / 0.8575 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.8386, allocations: 0.5838 MB / 0.8581 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.8397, allocations: 0.7059 MB / 0.8588 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001757/0.8415, allocations: 0.9476 MB / 0.8597 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.204e-05/0.8415, allocations: 4 kB / 0.8597 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002313/0.8438, allocations: 1.074 MB / 0.8608 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8439, allocations: 12 kB / 0.8608 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.8439, allocations: 12 kB / 0.8608 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8439, allocations: 16.81 kB / 0.8608 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.8447, allocations: 212.4 kB / 0.861 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.8448, allocations: 30.2 kB / 0.861 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.846, allocations: 143.5 kB / 0.8612 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.8461, allocations: 43.98 kB / 0.8612 GB, free: 7.898 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.8463, allocations: 248.6 kB / 0.8615 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.8465, allocations: 138.3 kB / 0.8616 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.8482, allocations: 0.6552 MB / 0.8622 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8482, allocations: 12.08 kB / 0.8622 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8482, allocations: 0 / 0.8622 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.8482, allocations: 3.984 kB / 0.8622 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.8515, allocations: 1.922 MB / 0.8641 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8516, allocations: 4 kB / 0.8641 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.8521, allocations: 99.17 kB / 0.8642 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.8521, allocations: 4 kB / 0.8642 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.8521, allocations: 12 kB / 0.8642 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.8521, allocations: 11.17 kB / 0.8642 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8521, allocations: 8 kB / 0.8643 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.8537, allocations: 0.8213 MB / 0.8651 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.8541, allocations: 299.1 kB / 0.8653 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.8543, allocations: 8 kB / 0.8653 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8553, allocations: 75.92 kB / 0.8654 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.8554, allocations: 38.98 kB / 0.8655 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.8554, allocations: 15.98 kB / 0.8655 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001291/0.8567, allocations: 1.017 MB / 0.8665 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8568, allocations: 0 / 0.8665 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00165/0.8584, allocations: 0.5735 MB / 0.867 GB, free: 1.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.8607, allocations: 1.532 MB / 0.8685 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.8635, allocations: 1.178 MB / 0.8697 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8636, allocations: 0 / 0.8697 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006906/0.8643, allocations: 264.8 kB / 0.8699 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.8675, allocations: 0.7481 MB / 0.8707 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.8835, allocations: 10.68 MB / 0.8811 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.8842, allocations: 1.19 MB / 0.8822 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001571/0.8858, allocations: 383.8 kB / 0.8826 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/0.8864, allocations: 0.4915 MB / 0.8831 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.8864, allocations: 0 / 0.8831 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05886/0.9453, allocations: 35.4 MB / 0.9177 GB, free: 13.76 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.666, allocations: 10.56 kB / 0.9177 GB, free: 13.76 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)