Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation",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.001518/0.001518, allocations: 99.31 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.002096/0.002096, 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 1.931/1.931, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.63/3.63, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005691, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427/1.428, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002783/1.43, allocations: 1.203 MB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003333/1.431, allocations: 139.7 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/1.431, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/1.431, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/1.431, allocations: 15.92 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/1.431, allocations: 7.984 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/1.431, allocations: 27.95 kB / 0.9822 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/1.431, allocations: 8 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/1.431, allocations: 15.92 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/1.432, allocations: 19.91 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/1.432, allocations: 4 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/1.432, allocations: 0 / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/1.432, allocations: 19.92 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/1.432, allocations: 25.7 kB / 0.9823 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.03e-05/1.432, allocations: 26.2 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.432, allocations: 0 / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.585e-06/1.432, allocations: 0 / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.432, allocations: 0 / 0.9824 GB, free: 4.738 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007402/1.433, allocations: 371.2 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/1.433, allocations: 8.031 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/1.433, allocations: 38.5 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/1.433, allocations: 3.906 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.433, allocations: 171 kB / 0.9829 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/1.433, allocations: 4 kB / 0.9829 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.433, allocations: 7.953 kB / 0.9829 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/1.433, allocations: 77.64 kB / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.433, allocations: 0 / 0.983 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.434, allocations: 4 kB / 0.983 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.434, allocations: 4 kB / 0.983 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/1.434, allocations: 87.91 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/1.435, allocations: 276.8 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/1.435, allocations: 62.55 kB / 0.9834 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/1.435, allocations: 0 / 0.9834 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.435, allocations: 34.56 kB / 0.9835 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/1.435, allocations: 0 / 0.9835 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0009325/1.436, allocations: 165.6 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/1.436, allocations: 51.41 kB / 0.9837 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.436, allocations: 109.8 kB / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/1.436, allocations: 29.7 kB / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/1.436, allocations: 88.14 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/1.436, allocations: 7.812 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/1.436, allocations: 0 / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.437, allocations: 322.8 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/1.437, allocations: 35.97 kB / 0.9842 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/1.437, allocations: 43.95 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/1.437, allocations: 43.97 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.437, allocations: 3.953 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005449/1.438, allocations: 125.6 kB / 0.9844 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.438, allocations: 7.938 kB / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.438, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.438, allocations: 0 / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/1.438, allocations: 27.97 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.438, allocations: 0 / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/1.438, allocations: 15.98 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/1.438, allocations: 0 / 0.9845 GB, free: 2.328 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.0001325/1.438, allocations: 113.8 kB / 0.9846 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/1.439, allocations: 7.859 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/1.439, allocations: 11.89 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.439, allocations: 8 kB / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.439, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.439, allocations: 0 / 0.9846 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/1.439, allocations: 169.6 kB / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.439, allocations: 0 / 0.9848 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/1.439, allocations: 23.94 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/1.439, allocations: 3.938 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.439, allocations: 0 / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.439, allocations: 7.984 kB / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.439, allocations: 0 / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/1.44, allocations: 219.4 kB / 0.985 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/1.44, allocations: 88.95 kB / 0.9851 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/1.44, allocations: 3.953 kB / 0.9851 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.44, allocations: 16.36 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/1.44, allocations: 11.98 kB / 0.9851 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.44, allocations: 0 / 0.9851 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.988e-05/1.44, allocations: 87.27 kB / 0.9852 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.44, allocations: 0 / 0.9852 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004296/1.441, allocations: 12 kB / 0.9852 GB, free: 1.461 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.0009903/1.442, allocations: 0.7475 MB / 0.986 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005371/1.442, allocations: 91.92 kB / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.442, allocations: 0 / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/1.443, allocations: 47.95 kB / 0.9861 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/1.443, allocations: 7.953 kB / 0.9861 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/1.444, allocations: 198 kB / 0.9863 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.444, allocations: 0.6848 MB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.11e-05/1.444, allocations: 3.859 kB / 0.987 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/1.444, allocations: 19.42 kB / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.444, allocations: 0 / 0.987 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/1.464, allocations: 1.412 MB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/1.464, allocations: 207.4 kB / 0.9886 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/4.593, allocations: 0 / 0.9886 GB, free: 14.11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat does not exist to compare? outputFormat=mat