Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.001309/0.00131, 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.001663/0.001663, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 14.03 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2465, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001833/0.2484, allocations: 1.423 MB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.2494, allocations: 0.7074 MB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.2494, allocations: 0 / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.2495, allocations: 3.938 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.2496, allocations: 31.88 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2498, allocations: 63.8 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.25, allocations: 63.86 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2501, allocations: 37.56 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.2502, allocations: 27.86 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.2503, allocations: 43.83 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2503, allocations: 4 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2505, allocations: 91.89 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2505, allocations: 15.92 kB / 0.7897 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.2505, allocations: 41.64 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2507, allocations: 107.8 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2507, allocations: 0 / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2507, allocations: 0 / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2507, allocations: 0 / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005714/0.2513, allocations: 438.9 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2513, allocations: 11.97 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.2514, allocations: 46.48 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2514, allocations: 11.86 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2515, allocations: 178.9 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2516, allocations: 8 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.2516, allocations: 11.98 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2519, allocations: 141.3 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2519, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.252, allocations: 4 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.252, allocations: 0 / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.2523, allocations: 131.9 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.2529, allocations: 404.2 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2532, allocations: 114.6 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/0.2537, allocations: 0.5661 MB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2537, allocations: 34.69 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2537, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000629/0.2543, allocations: 217.4 kB / 0.7921 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2544, allocations: 55.41 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2545, allocations: 167.3 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2545, allocations: 25.7 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.2546, allocations: 104.2 kB / 0.7924 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.2546, allocations: 31.55 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.2546, allocations: 0 / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2547, allocations: 326.8 kB / 0.7927 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2549, allocations: 55.95 kB / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2551, allocations: 59.95 kB / 0.7929 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2553, allocations: 52.53 kB / 0.7929 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2553, allocations: 7.891 kB / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003796/0.2557, allocations: 165.5 kB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2557, allocations: 4 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2557, allocations: 0 / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2557, allocations: 4 kB / 0.7931 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.2559, allocations: 31.92 kB / 0.7931 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2559, allocations: 0 / 0.7931 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.256, allocations: 23.88 kB / 0.7931 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.256, allocations: 4 kB / 0.7931 GB, free: 5.473 MB / 0.6075 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 (9): * Single equations (assignments): 9 * 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.657e-05/0.2561, allocations: 121.8 kB / 0.7932 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.2561, allocations: 11.86 kB / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.2566, allocations: 178.9 kB / 0.7934 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2566, allocations: 4 kB / 0.7934 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2566, allocations: 3.938 kB / 0.7934 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2566, allocations: 0 / 0.7934 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2568, allocations: 209.5 kB / 0.7936 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2568, allocations: 0 / 0.7936 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.257, allocations: 35.94 kB / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.257, allocations: 0 / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.257, allocations: 4 kB / 0.7937 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.257, allocations: 4 kB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.257, allocations: 0 / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.2575, allocations: 259.5 kB / 0.7939 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.2576, allocations: 96.91 kB / 0.794 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.2576, allocations: 12.05 kB / 0.794 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2577, allocations: 19.92 kB / 0.7941 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.2578, allocations: 11.98 kB / 0.7941 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2578, allocations: 3.938 kB / 0.7941 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001152/0.2579, allocations: 120 kB / 0.7942 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2579, allocations: 0 / 0.7942 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002534/0.2582, allocations: 27.98 kB / 0.7942 GB, free: 4.27 MB / 0.6075 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 (9): * Single equations (assignments): 9 * 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.000759/0.2589, allocations: 0.8047 MB / 0.795 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.2593, allocations: 131.8 kB / 0.7951 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2594, allocations: 0 / 0.7951 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.2596, allocations: 63.97 kB / 0.7952 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.2599, allocations: 38.34 kB / 0.7952 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2613, allocations: 0.8186 MB / 0.796 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.2616, allocations: 0.7118 MB / 0.7967 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.2617, allocations: 12.55 kB / 0.7967 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.2617, allocations: 27.42 kB / 0.7967 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2617, allocations: 0 / 0.7967 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.2797, allocations: 2.663 MB / 0.7993 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.28, allocations: 205.7 kB / 0.7995 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.112, allocations: 4 kB / 0.7995 GB, free: 14.86 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1) Environment - environmentSimulation: