Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_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.006471/0.006477, allocations: 97.2 kB / 15.73 MB, free: 6.039 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.001363/0.001363, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00265/0.00265, allocations: 286.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.075/1.075, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 99.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1723, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5815/0.7538, allocations: 237.5 MB / 0.9979 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02178/0.7756, allocations: 15.79 MB / 1.013 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.7776, allocations: 59.69 kB / 1.013 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.7803, allocations: 1.045 MB / 1.014 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007361/0.7878, allocations: 2.979 MB / 1.017 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.7922, allocations: 1.679 MB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005039/0.7972, allocations: 3.438 MB / 1.022 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.7992, allocations: 1.294 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006343/0.8056, allocations: 2.486 MB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.8081, allocations: 1.08 MB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004952/0.8087, allocations: 116 kB / 1.027 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006319/0.815, allocations: 3.106 MB / 1.03 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00079/0.8158, allocations: 474.4 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.8174, allocations: 0.8084 MB / 1.031 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006384/0.8238, allocations: 2.994 MB / 1.034 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8239, allocations: 4 kB / 1.034 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8239, allocations: 0 / 1.034 GB, free: 15.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.93e-05/0.824, allocations: 0 / 1.034 GB, free: 15.95 MB / 0.795 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.004637/0.8286, allocations: 2.067 MB / 1.036 GB, free: 13.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.8287, allocations: 8.031 kB / 1.036 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/0.829, allocations: 152.2 kB / 1.036 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.832, allocations: 0.4985 MB / 1.037 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.835, allocations: 1.181 MB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.8351, allocations: 81.98 kB / 1.038 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.8353, allocations: 101.1 kB / 1.038 GB, free: 11.74 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.838, allocations: 1.346 MB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.838, allocations: 7.938 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.8382, allocations: 55.92 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.8382, allocations: 45.98 kB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.8408, allocations: 1.05 MB / 1.041 GB, free: 9.117 MB / 0.795 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.009385/0.8502, allocations: 7.392 MB / 1.048 GB, free: 1.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.8519, allocations: 0.5403 MB / 1.049 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.8526, allocations: 257.2 kB / 1.049 GB, free: 460 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.853, allocations: 287.5 kB / 1.049 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.8531, allocations: 46.84 kB / 1.049 GB, free: 60 kB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.8531, allocations: 0 / 1.049 GB, free: 60 kB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002595/0.8557, allocations: 0.8374 MB / 1.05 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8558, allocations: 59.34 kB / 1.05 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.8582, allocations: 1.391 MB / 1.051 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.3e-05/0.8583, allocations: 37.7 kB / 1.051 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/0.859, allocations: 0.7235 MB / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.8592, allocations: 119 kB / 1.052 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.8595, allocations: 166.5 kB / 1.052 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8597, allocations: 337.9 kB / 1.053 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.8605, allocations: 312.6 kB / 1.053 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.8617, allocations: 0.6814 MB / 1.054 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.8636, allocations: 0.9347 MB / 1.055 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.8637, allocations: 4 kB / 1.055 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002681/0.8664, allocations: 1.058 MB / 1.056 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.8664, allocations: 12 kB / 1.056 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.8664, allocations: 12.84 kB / 1.056 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.8665, allocations: 16 kB / 1.056 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008746/0.8673, allocations: 199.7 kB / 1.056 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.8674, allocations: 23.88 kB / 1.056 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.8688, allocations: 183.1 kB / 1.056 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/0.8689, allocations: 48.77 kB / 1.056 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001334/0.8703, allocations: 0.5643 MB / 1.057 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/0.8714, allocations: 0.6814 MB / 1.057 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001833/0.8732, allocations: 0.9332 MB / 1.058 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/0.8733, allocations: 7.938 kB / 1.058 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002401/0.8757, allocations: 1.051 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8757, allocations: 14.28 kB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8757, allocations: 12 kB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8757, allocations: 19.94 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/0.8766, allocations: 203.7 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/0.8766, allocations: 23.92 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.8779, allocations: 135.5 kB / 1.06 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.878, allocations: 47.98 kB / 1.06 GB, free: 4.504 MB / 0.8106 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.000253/0.8783, allocations: 239.6 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.8785, allocations: 151 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.8802, allocations: 0.6337 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8802, allocations: 4 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8803, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8803, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/0.8841, allocations: 1.894 MB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8841, allocations: 4 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.8846, allocations: 96.02 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.8846, allocations: 8.094 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.8847, allocations: 11.98 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.8847, allocations: 12 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.8847, allocations: 11.92 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.8864, allocations: 0.8199 MB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/0.8869, allocations: 307.9 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.8872, allocations: 8 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8883, allocations: 67.92 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.8884, allocations: 35.84 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.8885, allocations: 27.97 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001662/0.8901, allocations: 1.001 MB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8901, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002167/0.8923, allocations: 0.5852 MB / 1.065 GB, free: 14.4 MB / 0.8262 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.002415/0.8947, allocations: 1.516 MB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0028/0.8976, allocations: 1.122 MB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8976, allocations: 4.062 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006592/0.8982, allocations: 259.9 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.9017, allocations: 0.7424 MB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.92, allocations: 9.829 MB / 1.079 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.921, allocations: 1.186 MB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001417/0.9224, allocations: 387.8 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/0.9232, allocations: 495.3 kB / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of SimCode: time 9.22e-07/0.9232, allocations: 0 / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.249/3.172, allocations: 35.63 MB / 1.115 GB, free: 284.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/16.96, allocations: 9.469 kB / 1.115 GB, free: 284.8 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)