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.0008424/0.0008424, allocations: 91.61 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.001035/0.001035, 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 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.786/1.786, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005107/0.0005107, allocations: 17.41 kB / 0.6738 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2356, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002227/0.2378, allocations: 1.427 MB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2392, allocations: 0.7074 MB / 0.7895 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.2393, allocations: 4 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.2393, allocations: 7.875 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.2394, allocations: 19.78 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2398, allocations: 67.86 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2399, allocations: 95.64 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.24, allocations: 29.58 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.2401, allocations: 35.84 kB / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.2402, allocations: 39.78 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2402, allocations: 4 kB / 0.7898 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.2405, allocations: 95.89 kB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2405, allocations: 19.86 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2405, allocations: 45.64 kB / 0.79 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2407, allocations: 103.8 kB / 0.7901 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2407, allocations: 0 / 0.7901 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2407, allocations: 0 / 0.7901 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2407, allocations: 0 / 0.7901 GB, free: 9.129 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.0006344/0.2414, allocations: 438.9 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2414, allocations: 8.031 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.2415, allocations: 42.55 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.2415, allocations: 19.77 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2417, allocations: 178 kB / 0.7907 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2417, allocations: 8 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2417, allocations: 12 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.2421, allocations: 133.5 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.2421, allocations: 0 / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2421, allocations: 0 / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2422, allocations: 4 kB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.2425, allocations: 135.8 kB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.243, allocations: 408.2 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.2434, allocations: 114.5 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2435, allocations: 84.86 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004177/0.244, allocations: 0.5544 MB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.244, allocations: 38.56 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.244, allocations: 0 / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005942/0.2446, allocations: 217.3 kB / 0.7924 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2447, allocations: 59.34 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2448, allocations: 163.3 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2448, allocations: 29.7 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.2449, allocations: 104.3 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2449, allocations: 27.56 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.2449, allocations: 0 / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.245, allocations: 323.2 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2452, allocations: 55.95 kB / 0.7931 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2453, allocations: 59.89 kB / 0.7931 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2455, allocations: 59.92 kB / 0.7932 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2455, allocations: 0 / 0.7932 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003768/0.2459, allocations: 165.5 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2459, allocations: 4 kB / 0.7934 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2459, allocations: 0 / 0.7934 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.246, allocations: 4 kB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2461, allocations: 23.98 kB / 0.7934 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2461, allocations: 4 kB / 0.7934 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2463, allocations: 31.88 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2463, allocations: 0 / 0.7934 GB, free: 5.328 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.27e-05/0.2464, allocations: 121.7 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2464, allocations: 11.91 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.2468, allocations: 194.8 kB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2469, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2469, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2469, allocations: 0 / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2471, allocations: 209.6 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2471, allocations: 3.953 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.2472, allocations: 23.98 kB / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2472, allocations: 4 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2473, allocations: 4.375 kB / 0.794 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2473, allocations: 3.938 kB / 0.794 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2473, allocations: 0 / 0.794 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.2477, allocations: 263.2 kB / 0.7942 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.2477, allocations: 100.9 kB / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2478, allocations: 0 / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.2479, allocations: 27.97 kB / 0.7943 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.2479, allocations: 4 kB / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.248, allocations: 4 kB / 0.7943 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.514e-05/0.2481, allocations: 123.9 kB / 0.7945 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2481, allocations: 0 / 0.7945 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002521/0.2483, allocations: 24 kB / 0.7945 GB, free: 4.125 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.0007382/0.2491, allocations: 0.8137 MB / 0.7953 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.2494, allocations: 123.9 kB / 0.7954 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2494, allocations: 3.938 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2496, allocations: 63.97 kB / 0.7955 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.25, allocations: 36.47 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2515, allocations: 0.8142 MB / 0.7963 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2517, allocations: 0.7041 MB / 0.797 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.462e-05/0.2518, allocations: 12.66 kB / 0.797 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.2519, allocations: 31.38 kB / 0.797 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.2519, allocations: 0 / 0.797 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.2658, allocations: 2.684 MB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.2661, allocations: 218.5 kB / 0.7999 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.971, allocations: 0 / 0.7999 GB, free: 14.7 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: