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.001197/0.001197, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.238/1.238, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 275 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 96.36 kB / 0.5955 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1386, allocations: 86.98 MB / 0.6805 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.4801/0.6187, allocations: 237.5 MB / 0.9124 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.638, allocations: 15.77 MB / 0.9278 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.6402, allocations: 63.62 kB / 0.9279 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.6429, allocations: 1.029 MB / 0.9289 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007031/0.6499, allocations: 2.98 MB / 0.9318 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.6539, allocations: 1.697 MB / 0.9335 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.6585, allocations: 3.438 MB / 0.9368 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.6603, allocations: 1.287 MB / 0.9381 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/0.6659, allocations: 2.502 MB / 0.9405 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.6679, allocations: 1.072 MB / 0.9416 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.6682, allocations: 116 kB / 0.9417 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.6735, allocations: 3.098 MB / 0.9447 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005881/0.6741, allocations: 478.4 kB / 0.9451 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.6752, allocations: 0.8123 MB / 0.9459 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.68, allocations: 2.976 MB / 0.9488 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6801, allocations: 0 / 0.9488 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6801, allocations: 0 / 0.9488 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.041e-05/0.6801, allocations: 0 / 0.9488 GB, free: 4.234 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.003531/0.6836, allocations: 2.006 MB / 0.9508 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6837, allocations: 8.031 kB / 0.9508 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.6839, allocations: 156.2 kB / 0.951 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.6866, allocations: 0.4937 MB / 0.9514 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.6888, allocations: 1.172 MB / 0.9526 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.6889, allocations: 78 kB / 0.9527 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6891, allocations: 100 kB / 0.9528 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.6914, allocations: 1.354 MB / 0.9541 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.6914, allocations: 7.938 kB / 0.9541 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6915, allocations: 44 kB / 0.9541 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.6916, allocations: 45.98 kB / 0.9542 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.6938, allocations: 1.05 MB / 0.9552 GB, free: 13.48 MB / 0.67 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.007589/0.7014, allocations: 7.383 MB / 0.9624 GB, free: 5.629 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.703, allocations: 0.5401 MB / 0.9629 GB, free: 5.082 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.7036, allocations: 261.2 kB / 0.9632 GB, free: 4.824 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/0.7039, allocations: 291.5 kB / 0.9635 GB, free: 4.484 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.704, allocations: 38.84 kB / 0.9635 GB, free: 4.438 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.407e-06/0.704, allocations: 0 / 0.9635 GB, free: 4.438 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002313/0.7063, allocations: 0.8405 MB / 0.9643 GB, free: 3.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.7064, allocations: 55.41 kB / 0.9644 GB, free: 3.523 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.7082, allocations: 1.391 MB / 0.9657 GB, free: 2.121 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.442e-05/0.7083, allocations: 33.7 kB / 0.9658 GB, free: 2.082 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.7088, allocations: 0.7103 MB / 0.9665 GB, free: 1.367 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.709, allocations: 118.4 kB / 0.9666 GB, free: 1.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.7092, allocations: 166.4 kB / 0.9667 GB, free: 1.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7093, allocations: 330 kB / 0.967 GB, free: 0.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.7101, allocations: 312.6 kB / 0.9673 GB, free: 452 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009989/0.7111, allocations: 0.6892 MB / 0.968 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.7127, allocations: 0.9346 MB / 0.9689 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.7127, allocations: 4.75 kB / 0.9689 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002234/0.715, allocations: 1.046 MB / 0.97 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.715, allocations: 12 kB / 0.97 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.715, allocations: 12 kB / 0.97 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.7151, allocations: 16.75 kB / 0.97 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.7159, allocations: 207.7 kB / 0.9702 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.7159, allocations: 27.86 kB / 0.9702 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.7172, allocations: 177.9 kB / 0.9704 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.7173, allocations: 47.98 kB / 0.9704 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/0.7184, allocations: 0.5643 MB / 0.971 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009768/0.7194, allocations: 0.6814 MB / 0.9717 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001577/0.721, allocations: 0.9334 MB / 0.9726 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.721, allocations: 4 kB / 0.9726 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002195/0.7232, allocations: 1.043 MB / 0.9736 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7232, allocations: 15.97 kB / 0.9736 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7233, allocations: 12 kB / 0.9736 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7233, allocations: 16 kB / 0.9736 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.7241, allocations: 203.7 kB / 0.9738 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.7241, allocations: 23.92 kB / 0.9738 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.7254, allocations: 132.2 kB / 0.974 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.7254, allocations: 47.98 kB / 0.974 GB, free: 8.926 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.0002309/0.7257, allocations: 236.6 kB / 0.9742 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.7259, allocations: 146.2 kB / 0.9744 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.7275, allocations: 0.6415 MB / 0.975 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7275, allocations: 0 / 0.975 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7275, allocations: 0 / 0.975 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7275, allocations: 7.984 kB / 0.975 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.7308, allocations: 1.9 MB / 0.9769 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7308, allocations: 4 kB / 0.9769 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.7313, allocations: 91.95 kB / 0.977 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.7313, allocations: 8 kB / 0.977 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.7314, allocations: 12 kB / 0.977 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7314, allocations: 7.984 kB / 0.977 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7314, allocations: 11.88 kB / 0.977 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.7329, allocations: 0.8037 MB / 0.9778 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.7334, allocations: 299.1 kB / 0.9781 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.7336, allocations: 12 kB / 0.9781 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.7345, allocations: 63.92 kB / 0.9781 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.7346, allocations: 39.84 kB / 0.9782 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.7347, allocations: 23.97 kB / 0.9782 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001372/0.7361, allocations: 1.001 MB / 0.9792 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7361, allocations: 0 / 0.9792 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001776/0.7379, allocations: 0.5735 MB / 0.9797 GB, free: 2.848 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.002188/0.7401, allocations: 1.512 MB / 0.9812 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.7427, allocations: 1.117 MB / 0.9823 GB, free: 160 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.7427, allocations: 4.188 kB / 0.9823 GB, free: 156 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.7434, allocations: 260.2 kB / 0.9826 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.7465, allocations: 0.7461 MB / 0.9833 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.7624, allocations: 9.794 MB / 0.9929 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.7631, allocations: 1.186 MB / 0.994 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001347/0.7644, allocations: 383.7 kB / 0.9944 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.7651, allocations: 0.4915 MB / 0.9949 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of SimCode: time 4.11e-07/0.7651, allocations: 0 / 0.9949 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06006/0.8252, allocations: 35.42 MB / 1.029 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.695/10.52, allocations: 9.172 kB / 1.029 GB, free: 15.82 MB / 0.7481 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)