Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",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.001503/0.001503, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001918/0.001918, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.482/2.482, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.816/4.816, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006315, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393/1.394, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002618/1.397, allocations: 0.9964 MB / 0.9818 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001837/1.399, allocations: 0.6779 MB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/1.399, allocations: 4 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/1.399, allocations: 0 / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/1.399, allocations: 7.984 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/1.399, allocations: 71.81 kB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/1.4, allocations: 19.95 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/1.4, allocations: 0 / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/1.4, allocations: 4 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/1.4, allocations: 8 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/1.4, allocations: 0 / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/1.4, allocations: 167.6 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/1.4, allocations: 3.984 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/1.4, allocations: 29.7 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/1.401, allocations: 70.16 kB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.401, allocations: 0 / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.948e-06/1.401, allocations: 0 / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.401, allocations: 4 kB / 0.9829 GB, free: 4.242 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007395/1.402, allocations: 331.3 kB / 0.9832 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/1.402, allocations: 12.03 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/1.402, allocations: 30.56 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/1.402, allocations: 0 / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/1.402, allocations: 159.1 kB / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/1.402, allocations: 8 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.402, allocations: 3.953 kB / 0.9834 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/1.402, allocations: 41.62 kB / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.402, allocations: 0 / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.402, allocations: 0 / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.402, allocations: 0 / 0.9834 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/1.403, allocations: 11.98 kB / 0.9835 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/1.403, allocations: 153.7 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/1.403, allocations: 38.61 kB / 0.9836 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/1.406, allocations: 1.035 MB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.406, allocations: 42.45 kB / 0.9847 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/1.406, allocations: 0 / 0.9847 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002832/1.406, allocations: 49.69 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/1.406, allocations: 51.41 kB / 0.9848 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/1.407, allocations: 97.86 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/1.407, allocations: 29.69 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/1.407, allocations: 84.14 kB / 0.985 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5e-05/1.407, allocations: 11.81 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/1.407, allocations: 0 / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.407, allocations: 310.8 kB / 0.9853 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/1.407, allocations: 4 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/1.407, allocations: 12.06 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/1.407, allocations: 11.98 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.407, allocations: 0 / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.1e-05/1.407, allocations: 41.98 kB / 0.9854 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.407, allocations: 4 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.407, allocations: 3.953 kB / 0.9854 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.407, allocations: 8.016 kB / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/1.407, allocations: 4 kB / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.407, allocations: 0 / 0.9854 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/1.407, allocations: 11.88 kB / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.407, allocations: 0 / 0.9854 GB, free: 1.375 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.408, allocations: 109.8 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/1.408, allocations: 4 kB / 0.9855 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.408, allocations: 57.12 kB / 0.9856 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.408, allocations: 3.953 kB / 0.9856 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.408, allocations: 3.984 kB / 0.9856 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.408, allocations: 0 / 0.9856 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/1.408, allocations: 153.6 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.408, allocations: 0 / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/1.408, allocations: 11.98 kB / 0.9857 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.408, allocations: 0 / 0.9857 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.408, allocations: 4 kB / 0.9857 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.408, allocations: 0 / 0.9857 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.408, allocations: 7.938 kB / 0.9857 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.408, allocations: 69.06 kB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/1.408, allocations: 81.05 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/1.408, allocations: 0 / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/1.408, allocations: 4 kB / 0.9859 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/1.408, allocations: 7.953 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/1.408, allocations: 4 kB / 0.9859 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.93e-05/1.408, allocations: 83.27 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.408, allocations: 0 / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002885/1.409, allocations: 24 kB / 0.986 GB, free: 0.6562 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009336/1.41, allocations: 0.6359 MB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001036/1.41, allocations: 11.94 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.41, allocations: 0 / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/1.41, allocations: 12 kB / 0.9866 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.41, allocations: 7.938 kB / 0.9866 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/1.411, allocations: 148.5 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/1.411, allocations: 0.6809 MB / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.848e-05/1.411, allocations: 4.328 kB / 0.9875 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/1.411, allocations: 11.38 kB / 0.9875 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/1.411, allocations: 0 / 0.9875 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.081/1.492, allocations: 1.554 MB / 0.989 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/1.493, allocations: 234 kB / 0.9892 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/4.469, allocations: 0 / 0.9892 GB, free: 13.42 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat does not exist to compare? outputFormat=mat