Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_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.001468/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001637/0.001637, allocations: 189.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 78.81 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1769, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5158/0.6927, allocations: 235.4 MB / 1.013 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.7098, allocations: 15.8 MB / 1.028 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.7121, allocations: 58.16 kB / 1.028 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.7145, allocations: 0.8727 MB / 1.029 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006574/0.7211, allocations: 2.782 MB / 1.032 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.7247, allocations: 1.521 MB / 1.033 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004153/0.7288, allocations: 4.647 MB / 1.038 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.7301, allocations: 1.075 MB / 1.039 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.735, allocations: 2.264 MB / 1.041 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.7369, allocations: 1.114 MB / 1.042 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.737, allocations: 68.53 kB / 1.042 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.7425, allocations: 3.59 MB / 1.046 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003919/0.7429, allocations: 434.9 kB / 1.046 GB, free: 492 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.7436, allocations: 0.755 MB / 1.047 GB, free: 4 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.7474, allocations: 3.095 MB / 1.05 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.7474, allocations: 0 / 1.05 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7474, allocations: 0 / 1.05 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.7474, allocations: 0 / 1.05 GB, free: 14.05 MB / 0.7637 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.003317/0.7508, allocations: 2.015 MB / 1.052 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.7508, allocations: 10.31 kB / 1.052 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.751, allocations: 151.3 kB / 1.052 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.7537, allocations: 0.496 MB / 1.052 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7557, allocations: 1.108 MB / 1.054 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008734/0.7566, allocations: 243.4 kB / 1.054 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.7567, allocations: 103.6 kB / 1.054 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.759, allocations: 1.318 MB / 1.055 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.759, allocations: 6.812 kB / 1.055 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.7591, allocations: 37.75 kB / 1.055 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.7592, allocations: 50.12 kB / 1.055 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.7617, allocations: 1.071 MB / 1.056 GB, free: 9.738 MB / 0.7637 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.00712/0.7688, allocations: 6.647 MB / 1.063 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.7705, allocations: 0.5699 MB / 1.063 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/0.7712, allocations: 269.2 kB / 1.064 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.7715, allocations: 291.5 kB / 1.064 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.7716, allocations: 34.84 kB / 1.064 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.7716, allocations: 0 / 1.064 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.002433/0.774, allocations: 0.8635 MB / 1.065 GB, free: 1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.7741, allocations: 51.41 kB / 1.065 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.7758, allocations: 1.362 MB / 1.066 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.7759, allocations: 33.7 kB / 1.066 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.7764, allocations: 0.6872 MB / 1.067 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.7765, allocations: 118.4 kB / 1.067 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.7767, allocations: 154 kB / 1.067 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7768, allocations: 334 kB / 1.067 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.7777, allocations: 311.2 kB / 1.068 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.7789, allocations: 0.6558 MB / 1.068 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.7806, allocations: 0.8689 MB / 1.069 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7807, allocations: 4 kB / 1.069 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002331/0.783, allocations: 1.015 MB / 1.07 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.783, allocations: 15.12 kB / 1.07 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.783, allocations: 8 kB / 1.07 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.7831, allocations: 16 kB / 1.07 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/0.784, allocations: 195.7 kB / 1.07 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/0.784, allocations: 19.92 kB / 1.07 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7859, allocations: 226.6 kB / 1.071 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.786, allocations: 35.98 kB / 1.071 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001531/0.7876, allocations: 0.5721 MB / 1.071 GB, free: 10 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.7887, allocations: 0.6482 MB / 1.072 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001736/0.7904, allocations: 0.8711 MB / 1.073 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.748e-06/0.7904, allocations: 4 kB / 1.073 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.00233/0.7928, allocations: 1.007 MB / 1.074 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7928, allocations: 8 kB / 1.074 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7928, allocations: 12.78 kB / 1.074 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7928, allocations: 12 kB / 1.074 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008785/0.7937, allocations: 199.9 kB / 1.074 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.7937, allocations: 23.92 kB / 1.074 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.795, allocations: 159.4 kB / 1.074 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.7951, allocations: 35.98 kB / 1.074 GB, free: 6.734 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.7953, allocations: 235.9 kB / 1.074 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.7955, allocations: 142.3 kB / 1.075 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.7978, allocations: 0.6557 MB / 1.075 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.7979, allocations: 0 / 1.075 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7979, allocations: 4 kB / 1.075 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7979, allocations: 0 / 1.075 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.8034, allocations: 1.929 MB / 1.077 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.8034, allocations: 4 kB / 1.077 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.8042, allocations: 95.8 kB / 1.077 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.8043, allocations: 12.03 kB / 1.077 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.8043, allocations: 15.98 kB / 1.077 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.8043, allocations: 4 kB / 1.077 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.8044, allocations: 11.94 kB / 1.077 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.807, allocations: 0.8165 MB / 1.078 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/0.8077, allocations: 299.1 kB / 1.078 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.808, allocations: 12 kB / 1.078 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.8099, allocations: 99.8 kB / 1.078 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.81, allocations: 31.84 kB / 1.078 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.8101, allocations: 23.98 kB / 1.078 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002263/0.8124, allocations: 0.9845 MB / 1.079 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8124, allocations: 3.938 kB / 1.079 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002741/0.8152, allocations: 0.5734 MB / 1.08 GB, free: 0.5781 MB / 0.7794 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.003575/0.8187, allocations: 1.535 MB / 1.081 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004509/0.8233, allocations: 1.105 MB / 1.083 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8233, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.8245, allocations: 265.4 kB / 1.083 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/0.8303, allocations: 0.7349 MB / 1.083 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/0.8587, allocations: 10.75 MB / 1.094 GB, free: 1.438 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.8594, allocations: 1.178 MB / 1.095 GB, free: 232 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001527/0.861, allocations: 371.4 kB / 1.095 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.8616, allocations: 0.4914 MB / 1.096 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.8616, allocations: 0 / 1.096 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/0.9147, allocations: 34.03 MB / 1.129 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9149, allocations: 246 kB / 1.129 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.456, allocations: 0 / 1.129 GB, free: 13.5 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)