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.00126/0.00126, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001539/0.001539, allocations: 172.7 kB / 15.95 MB, free: 208 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.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.65/2.65, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003766, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8494, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.001995/0.8515, allocations: 1.203 MB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.8518, allocations: 147.6 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.8519, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.8519, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.852, allocations: 7.922 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.114e-05/0.852, allocations: 15.92 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.8521, allocations: 39.86 kB / 0.9825 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.8522, allocations: 11.98 kB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.737e-05/0.8523, allocations: 15.92 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.8524, allocations: 19.92 kB / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.8524, allocations: 0 / 0.9826 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.8524, allocations: 4 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.8524, allocations: 3.938 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.8525, allocations: 29.7 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.8525, allocations: 30.17 kB / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8525, allocations: 4 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8525, allocations: 0 / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8526, allocations: 0 / 0.9826 GB, free: 4.699 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.0005489/0.8531, allocations: 363.2 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8532, allocations: 16.03 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.8532, allocations: 34.56 kB / 0.983 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.8533, allocations: 7.906 kB / 0.983 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.8534, allocations: 170.9 kB / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8534, allocations: 0 / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.8535, allocations: 7.953 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8537, allocations: 81.66 kB / 0.9833 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.8538, allocations: 3.984 kB / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.8538, allocations: 0 / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.8538, allocations: 0 / 0.9833 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.8541, allocations: 91.92 kB / 0.9834 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.8545, allocations: 272.8 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.8547, allocations: 62.55 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.8549, allocations: 56.91 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.8549, allocations: 0 / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.8549, allocations: 38.5 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8549, allocations: 0 / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005538/0.8555, allocations: 165.5 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.8555, allocations: 51.41 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.8556, allocations: 109.8 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8557, allocations: 25.7 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.8557, allocations: 84.14 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.8557, allocations: 11.81 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.8557, allocations: 4 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8559, allocations: 314.8 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.856, allocations: 43.97 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.8562, allocations: 43.97 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.8563, allocations: 47.91 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8563, allocations: 0 / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003317/0.8566, allocations: 121.6 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8567, allocations: 4 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8567, allocations: 3.938 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8567, allocations: 8 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.8568, allocations: 15.98 kB / 0.9848 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8568, allocations: 7.984 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.8569, allocations: 11.98 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.8569, allocations: 8 kB / 0.9848 GB, free: 2.23 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 8.5e-05/0.857, allocations: 113.8 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.8571, allocations: 7.906 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.8571, allocations: 7.906 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8571, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8571, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8571, allocations: 0 / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.8573, allocations: 169.6 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8573, allocations: 3.953 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.8574, allocations: 23.98 kB / 0.9851 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8574, allocations: 0 / 0.9851 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.8574, allocations: 0 / 0.9851 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8574, allocations: 4 kB / 0.9851 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8574, allocations: 0 / 0.9851 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.8578, allocations: 219.7 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.8579, allocations: 96.88 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8579, allocations: 0 / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.858, allocations: 19.98 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.8581, allocations: 7.984 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8581, allocations: 0 / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.8581, allocations: 87.27 kB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8581, allocations: 0 / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002128/0.8584, allocations: 8 kB / 0.9856 GB, free: 1.379 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.0007059/0.8591, allocations: 0.7553 MB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.8594, allocations: 87.92 kB / 0.9864 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8594, allocations: 0 / 0.9864 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.8596, allocations: 55.95 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.8599, allocations: 4 kB / 0.9864 GB, free: 460 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.8604, allocations: 194.8 kB / 0.9866 GB, free: 224 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8607, allocations: 0.6848 MB / 0.9873 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.8607, allocations: 3.859 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.8607, allocations: 15.38 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.8608, allocations: 0 / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.8729, allocations: 1.431 MB / 0.9887 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.8732, allocations: 217 kB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.684, allocations: 4 kB / 0.9889 GB, free: 14 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