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.005625/0.005625, allocations: 96.7 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.001531/0.001531, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.312/1.312, 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.002371/0.002371, allocations: 282.1 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 0.9546/0.9546, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 102.4 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1486, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5109/0.6595, allocations: 237.5 MB / 0.9979 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.6798, allocations: 15.8 MB / 1.013 GB, free: 5.531 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.6816, allocations: 63.62 kB / 1.013 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.6842, allocations: 1.033 MB / 1.014 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.691, allocations: 2.985 MB / 1.017 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.695, allocations: 1.678 MB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.6993, allocations: 3.434 MB / 1.022 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.701, allocations: 1.291 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.7062, allocations: 2.497 MB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.7082, allocations: 1.073 MB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.7085, allocations: 124 kB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005417/0.7139, allocations: 3.094 MB / 1.03 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005599/0.7145, allocations: 478.4 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.7155, allocations: 0.8123 MB / 1.031 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.7202, allocations: 2.99 MB / 1.034 GB, free: 15.94 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7202, allocations: 0 / 1.034 GB, free: 15.94 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7202, allocations: 0 / 1.034 GB, free: 15.94 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.7203, allocations: 0 / 1.034 GB, free: 15.94 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.003434/0.7237, allocations: 2.064 MB / 1.036 GB, free: 13.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7238, allocations: 12.03 kB / 1.036 GB, free: 13.8 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.724, allocations: 153.1 kB / 1.036 GB, free: 13.65 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.7265, allocations: 0.5063 MB / 1.037 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.7287, allocations: 1.181 MB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.7288, allocations: 74 kB / 1.038 GB, free: 11.83 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7289, allocations: 103.9 kB / 1.038 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.7312, allocations: 1.354 MB / 1.04 GB, free: 10.26 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.7313, allocations: 7.938 kB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.7314, allocations: 40 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/0.7314, allocations: 49.98 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.7338, allocations: 1.05 MB / 1.041 GB, free: 9.109 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.007529/0.7413, allocations: 7.389 MB / 1.048 GB, free: 1.246 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.7428, allocations: 0.5386 MB / 1.048 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.7434, allocations: 261.2 kB / 1.049 GB, free: 452 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.7438, allocations: 291.5 kB / 1.049 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.7439, allocations: 39.84 kB / 1.049 GB, free: 56 kB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.7439, allocations: 0 / 1.049 GB, free: 56 kB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002241/0.7461, allocations: 0.8492 MB / 1.05 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7462, allocations: 55.41 kB / 1.05 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.748, allocations: 1.395 MB / 1.051 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.748, allocations: 33.7 kB / 1.051 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.7486, allocations: 0.7156 MB / 1.052 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.7487, allocations: 123 kB / 1.052 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.749, allocations: 166.5 kB / 1.052 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7491, allocations: 330 kB / 1.053 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/0.7499, allocations: 320.6 kB / 1.053 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.751, allocations: 0.6814 MB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.7528, allocations: 0.9385 MB / 1.055 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7528, allocations: 4 kB / 1.055 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00229/0.7551, allocations: 1.05 MB / 1.056 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7551, allocations: 10.19 kB / 1.056 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.7552, allocations: 12.91 kB / 1.056 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.7552, allocations: 16 kB / 1.056 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.756, allocations: 207.7 kB / 1.056 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.756, allocations: 27.86 kB / 1.056 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7572, allocations: 183.1 kB / 1.056 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.7572, allocations: 43.98 kB / 1.056 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.7584, allocations: 0.5682 MB / 1.057 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.7594, allocations: 0.6827 MB / 1.057 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/0.7611, allocations: 0.9293 MB / 1.058 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.7611, allocations: 4 kB / 1.058 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002217/0.7634, allocations: 1.055 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7634, allocations: 19.88 kB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.7634, allocations: 15.98 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7634, allocations: 16 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.7642, allocations: 199.8 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.7642, allocations: 23.92 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.7653, allocations: 131.5 kB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/0.7654, allocations: 43.98 kB / 1.06 GB, free: 4.5 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.0002122/0.7656, allocations: 240 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.7658, allocations: 151 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.7674, allocations: 0.6376 MB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7674, allocations: 4 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7674, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7674, allocations: 3.984 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.7707, allocations: 1.894 MB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7707, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.7712, allocations: 96.02 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.7712, allocations: 4 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.7712, allocations: 12 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.7712, allocations: 7.984 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.7712, allocations: 7.938 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.7727, allocations: 0.82 MB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.7732, allocations: 303.9 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.7733, allocations: 12 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.7743, allocations: 67.92 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.7744, allocations: 43.91 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.7744, allocations: 24.09 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001382/0.7758, allocations: 1.009 MB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7758, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001578/0.7774, allocations: 0.5735 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.002245/0.7797, allocations: 1.536 MB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002653/0.7823, allocations: 1.122 MB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7824, allocations: 0 / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.783, allocations: 259.9 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.7861, allocations: 0.7449 MB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.8024, allocations: 9.833 MB / 1.079 GB, free: 324 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.8032, allocations: 1.186 MB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001365/0.8046, allocations: 379.8 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.8053, allocations: 499.3 kB / 1.081 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.8053, allocations: 0 / 1.081 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3366/1.142, allocations: 35.62 MB / 1.115 GB, free: 284.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/10.99, allocations: 16.97 kB / 1.115 GB, free: 284.7 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)