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.0008904/0.0008905, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00586/0.00586, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.3/1.3, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 274.2 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.000427, allocations: 16.78 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5228/0.6638, allocations: 232.2 MB / 0.912 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6827, allocations: 15.74 MB / 0.9274 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.6847, allocations: 51.62 kB / 0.9274 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.6871, allocations: 0.8705 MB / 0.9283 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.6939, allocations: 2.803 MB / 0.931 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.6977, allocations: 1.516 MB / 0.9325 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005/0.7027, allocations: 4.658 MB / 0.937 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.704, allocations: 1.025 MB / 0.938 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004924/0.709, allocations: 2.22 MB / 0.9402 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.711, allocations: 1.07 MB / 0.9412 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.7111, allocations: 52 kB / 0.9413 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005411/0.7165, allocations: 3.573 MB / 0.9448 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.7169, allocations: 398.4 kB / 0.9452 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.7177, allocations: 0.7476 MB / 0.9459 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.7217, allocations: 3.045 MB / 0.9489 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7217, allocations: 0 / 0.9489 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7217, allocations: 0 / 0.9489 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.7217, allocations: 4 kB / 0.9489 GB, free: 1.527 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.00275/0.7245, allocations: 1.722 MB / 0.9505 GB, free: 15.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7245, allocations: 8.031 kB / 0.9505 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.7247, allocations: 156.2 kB / 0.9507 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.7271, allocations: 0.5327 MB / 0.9512 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.7289, allocations: 1.132 MB / 0.9523 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008706/0.7298, allocations: 273.7 kB / 0.9526 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.73, allocations: 100 kB / 0.9527 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.7321, allocations: 1.342 MB / 0.954 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.7322, allocations: 3.938 kB / 0.954 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.7323, allocations: 47.98 kB / 0.954 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.7323, allocations: 45.98 kB / 0.9541 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.7347, allocations: 1.12 MB / 0.9552 GB, free: 10.85 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.006509/0.7412, allocations: 6.639 MB / 0.9617 GB, free: 3.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.7428, allocations: 0.6011 MB / 0.9622 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.7434, allocations: 293.2 kB / 0.9625 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003296/0.7437, allocations: 295.5 kB / 0.9628 GB, free: 2.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.7438, allocations: 30.84 kB / 0.9628 GB, free: 2.488 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 1.654e-06/0.7438, allocations: 0 / 0.9628 GB, free: 2.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002237/0.746, allocations: 0.9145 MB / 0.9637 GB, free: 1.566 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.746, allocations: 55.41 kB / 0.9638 GB, free: 1.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.7476, allocations: 1.358 MB / 0.9651 GB, free: 136 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.7477, allocations: 37.7 kB / 0.9651 GB, free: 92 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/0.7482, allocations: 0.6795 MB / 0.9658 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.7483, allocations: 122.3 kB / 0.9659 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.7483, allocations: 53.69 kB / 0.966 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.7484, allocations: 334 kB / 0.9663 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008062/0.7493, allocations: 325.1 kB / 0.9666 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.7503, allocations: 0.6495 MB / 0.9672 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.7519, allocations: 0.8952 MB / 0.9681 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7519, allocations: 8 kB / 0.9681 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002086/0.754, allocations: 1.035 MB / 0.9691 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.7542, allocations: 365.9 kB / 0.9695 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.7542, allocations: 8 kB / 0.9695 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7542, allocations: 12 kB / 0.9695 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.755, allocations: 211.6 kB / 0.9697 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.755, allocations: 15.94 kB / 0.9697 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7563, allocations: 234.8 kB / 0.9699 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.7563, allocations: 32 kB / 0.97 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.7563, allocations: 4 kB / 0.97 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/0.7582, allocations: 0.8897 MB / 0.9708 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.7583, allocations: 15.94 kB / 0.9709 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7583, allocations: 15.94 kB / 0.9709 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.759, allocations: 208.4 kB / 0.9711 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.759, allocations: 15.94 kB / 0.9711 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.7601, allocations: 203 kB / 0.9713 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.7602, allocations: 32 kB / 0.9713 GB, free: 9.336 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0004416/0.7606, allocations: 417.4 kB / 0.9717 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.7608, allocations: 138.2 kB / 0.9718 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.7623, allocations: 0.6869 MB / 0.9725 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7624, allocations: 4 kB / 0.9725 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7624, allocations: 4 kB / 0.9725 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7624, allocations: 3.984 kB / 0.9725 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.7655, allocations: 1.97 MB / 0.9745 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.7656, allocations: 4 kB / 0.9745 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.766, allocations: 104 kB / 0.9746 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.766, allocations: 11.94 kB / 0.9746 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.7661, allocations: 11.98 kB / 0.9746 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.7661, allocations: 8 kB / 0.9746 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.7661, allocations: 7.938 kB / 0.9746 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.7676, allocations: 0.8436 MB / 0.9754 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.7679, allocations: 311 kB / 0.9757 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.7681, allocations: 8 kB / 0.9757 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7692, allocations: 107.9 kB / 0.9758 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.7692, allocations: 35.84 kB / 0.9759 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.7693, allocations: 23.98 kB / 0.9759 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001252/0.7705, allocations: 0.9964 MB / 0.9769 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.453e-06/0.7706, allocations: 0 / 0.9769 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001435/0.772, allocations: 0.581 MB / 0.9774 GB, free: 2.867 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.002072/0.7741, allocations: 1.555 MB / 0.9789 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.7766, allocations: 1.143 MB / 0.9801 GB, free: 108 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7766, allocations: 0 / 0.9801 GB, free: 108 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.7773, allocations: 275.6 kB / 0.9803 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.7813, allocations: 0.7866 MB / 0.9811 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.7986, allocations: 10.85 MB / 0.9917 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.7993, allocations: 1.186 MB / 0.9928 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001409/0.8007, allocations: 367.5 kB / 0.9932 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.8014, allocations: 0.4954 MB / 0.9937 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of SimCode: time 5.11e-07/0.8014, allocations: 0 / 0.9937 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7702/1.572, allocations: 36.09 MB / 1.029 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/1.572, allocations: 254.9 kB / 1.029 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/4.347, allocations: 0 / 1.029 GB, free: 13.57 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)