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.001095/0.001096, allocations: 97.89 kB / 16.4 MB, free: 6.438 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.001145/0.001145, allocations: 195.9 kB / 17.34 MB, free: 5.73 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 69 kB / 0.5572 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1495, allocations: 76.17 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.5566/0.7061, allocations: 237.5 MB / 0.8635 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.7272, allocations: 15.79 MB / 0.8789 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.7302, allocations: 63.62 kB / 0.879 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.7332, allocations: 1.037 MB / 0.88 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.7411, allocations: 2.981 MB / 0.8829 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.7455, allocations: 1.679 MB / 0.8846 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005021/0.7505, allocations: 3.441 MB / 0.8879 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.7525, allocations: 1.287 MB / 0.8892 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/0.7595, allocations: 2.525 MB / 0.8917 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.7624, allocations: 1.078 MB / 0.8927 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.7627, allocations: 120 kB / 0.8928 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005757/0.7685, allocations: 3.098 MB / 0.8958 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005524/0.7691, allocations: 474.4 kB / 0.8963 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.7701, allocations: 0.8124 MB / 0.8971 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.7752, allocations: 2.96 MB / 0.9 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7753, allocations: 4 kB / 0.9 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7753, allocations: 0 / 0.9 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.7753, allocations: 0 / 0.9 GB, free: 9.688 MB / 0.6544 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.003551/0.7789, allocations: 2.005 MB / 0.9019 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.7789, allocations: 11.97 kB / 0.902 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.7791, allocations: 152.2 kB / 0.9021 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.7817, allocations: 0.4975 MB / 0.9026 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.7841, allocations: 1.173 MB / 0.9037 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.7842, allocations: 77.98 kB / 0.9038 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.7843, allocations: 100 kB / 0.9039 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.7865, allocations: 1.346 MB / 0.9052 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.7865, allocations: 7.938 kB / 0.9052 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.7866, allocations: 47.98 kB / 0.9053 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.7867, allocations: 45.98 kB / 0.9053 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.789, allocations: 1.057 MB / 0.9063 GB, free: 2.934 MB / 0.6544 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.007384/0.7964, allocations: 7.387 MB / 0.9136 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.7979, allocations: 0.5386 MB / 0.9141 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.7985, allocations: 261.2 kB / 0.9143 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.7989, allocations: 287.5 kB / 0.9146 GB, free: 9.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.799, allocations: 38.84 kB / 0.9146 GB, free: 9.883 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.799, allocations: 0 / 0.9146 GB, free: 9.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002326/0.8013, allocations: 0.84 MB / 0.9155 GB, free: 9.035 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.8013, allocations: 51.41 kB / 0.9155 GB, free: 8.973 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.803, allocations: 1.399 MB / 0.9169 GB, free: 7.562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.8031, allocations: 33.7 kB / 0.9169 GB, free: 7.523 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.8036, allocations: 0.6987 MB / 0.9176 GB, free: 6.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.8037, allocations: 122.3 kB / 0.9177 GB, free: 6.699 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.804, allocations: 162.4 kB / 0.9179 GB, free: 6.531 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8041, allocations: 338 kB / 0.9182 GB, free: 6.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.8049, allocations: 312.6 kB / 0.9185 GB, free: 5.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.8059, allocations: 0.6891 MB / 0.9192 GB, free: 5.016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.8075, allocations: 0.9303 MB / 0.9201 GB, free: 3.926 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.8076, allocations: 4 kB / 0.9201 GB, free: 3.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002217/0.8098, allocations: 1.046 MB / 0.9211 GB, free: 2.867 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.8098, allocations: 12 kB / 0.9211 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.8098, allocations: 12 kB / 0.9211 GB, free: 2.844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.8099, allocations: 19.98 kB / 0.9211 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/0.8107, allocations: 203.8 kB / 0.9213 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.8107, allocations: 23.92 kB / 0.9214 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.8119, allocations: 178.7 kB / 0.9215 GB, free: 2.426 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.812, allocations: 47.98 kB / 0.9216 GB, free: 2.379 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.8131, allocations: 0.5643 MB / 0.9221 GB, free: 1.812 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009969/0.8141, allocations: 0.693 MB / 0.9228 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001579/0.8157, allocations: 0.9255 MB / 0.9237 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.8157, allocations: 4 kB / 0.9237 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002169/0.8179, allocations: 1.043 MB / 0.9247 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8179, allocations: 21.64 kB / 0.9247 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8179, allocations: 8 kB / 0.9248 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.818, allocations: 16.88 kB / 0.9248 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.8187, allocations: 199.7 kB / 0.925 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.8188, allocations: 31.8 kB / 0.925 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.8199, allocations: 139.4 kB / 0.9251 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.82, allocations: 43.98 kB / 0.9252 GB, free: 14.36 MB / 0.6856 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.0002104/0.8202, allocations: 232 kB / 0.9254 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.8204, allocations: 146.2 kB / 0.9255 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.822, allocations: 0.6365 MB / 0.9261 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.822, allocations: 4 kB / 0.9262 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.822, allocations: 4 kB / 0.9262 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.822, allocations: 3.984 kB / 0.9262 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.8253, allocations: 1.886 MB / 0.928 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8253, allocations: 4 kB / 0.928 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.8257, allocations: 99.8 kB / 0.9281 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.8258, allocations: 4 kB / 0.9281 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.8258, allocations: 12.16 kB / 0.9281 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.8258, allocations: 15.92 kB / 0.9281 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8258, allocations: 4 kB / 0.9281 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.8273, allocations: 0.8036 MB / 0.9289 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.8277, allocations: 299.1 kB / 0.9292 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8279, allocations: 12 kB / 0.9292 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.8289, allocations: 67.91 kB / 0.9293 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.829, allocations: 35.84 kB / 0.9293 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.829, allocations: 19.98 kB / 0.9293 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001292/0.8303, allocations: 1.013 MB / 0.9303 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8303, allocations: 0 / 0.9303 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00164/0.832, allocations: 0.5735 MB / 0.9309 GB, free: 8.285 MB / 0.6856 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.002113/0.8341, allocations: 1.509 MB / 0.9324 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.8368, allocations: 1.121 MB / 0.9335 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8368, allocations: 0 / 0.9335 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.8374, allocations: 259.4 kB / 0.9337 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.8405, allocations: 0.7437 MB / 0.9344 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.8566, allocations: 9.795 MB / 0.944 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.8576, allocations: 1.182 MB / 0.9451 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001574/0.8592, allocations: 383.8 kB / 0.9455 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.8599, allocations: 499.3 kB / 0.946 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of SimCode: time 6.41e-07/0.8599, allocations: 4 kB / 0.946 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/0.9238, allocations: 36.23 MB / 0.9814 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.32, allocations: 0 / 0.9814 GB, free: 4.355 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)