Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 90.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.497/6.731, allocations: 2.472 GB / 3.364 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/6.731, allocations: 91.94 kB / 3.364 GB, free: 255.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 22.47/29.2, allocations: 5.261 GB / 8.625 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.184e-06/29.2, allocations: 0 / 8.625 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002807/29.2, allocations: 209.6 kB / 8.625 GB, free: 87.02 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.05298/29.26, allocations: 8.876 MB / 8.634 GB, free: 84.58 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/29.26, allocations: 10.47 kB / 8.634 GB, free: 84.58 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009977/29.27, allocations: 0.9449 MB / 8.635 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/29.29, allocations: 1.856 MB / 8.637 GB, free: 84.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03993/29.33, allocations: 14.94 MB / 8.651 GB, free: 82.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006858/29.33, allocations: 482.2 kB / 8.652 GB, free: 82.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004112/29.33, allocations: 0.6471 MB / 8.652 GB, free: 82.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/29.37, allocations: 11.41 MB / 8.663 GB, free: 82.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004403/29.37, allocations: 21.41 kB / 8.664 GB, free: 82.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003177/29.37, allocations: 259.8 kB / 8.664 GB, free: 82.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003378/29.37, allocations: 297 kB / 8.664 GB, free: 82.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/29.4, allocations: 10.49 MB / 8.674 GB, free: 82.11 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09755/29.49, allocations: 49.88 MB / 8.723 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/29.51, allocations: 6.829 MB / 8.73 GB, free: 64.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/29.52, allocations: 4.541 MB / 8.734 GB, free: 64.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/29.53, allocations: 0.9294 MB / 8.735 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/29.53, allocations: 86.91 kB / 8.735 GB, free: 63.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01281/29.54, allocations: 1.372 MB / 8.736 GB, free: 63.63 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=369): time 3.55e-05/29.54, allocations: 2 kB / 8.736 GB, free: 63.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=375): time 0.06613/29.61, allocations: 15.69 MB / 8.752 GB, free: 61.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/29.61, allocations: 92.98 kB / 8.752 GB, free: 61.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02664/29.63, allocations: 8.049 MB / 8.76 GB, free: 61.28 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00215/29.63, allocations: 107.3 kB / 8.76 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00728/29.64, allocations: 3.64 MB / 8.763 GB, free: 60.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00321/29.65, allocations: 1.326 MB / 8.765 GB, free: 59.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/29.65, allocations: 77.75 kB / 8.765 GB, free: 59.22 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005156/29.65, allocations: 494.6 kB / 8.765 GB, free: 58.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007668/29.65, allocations: 3.274 MB / 8.768 GB, free: 58.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009546/29.66, allocations: 4.508 MB / 8.773 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/29.67, allocations: 4.246 MB / 8.777 GB, free: 57.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.729e-05/29.67, allocations: 6.969 kB / 8.777 GB, free: 57.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01981/29.69, allocations: 8.372 MB / 8.785 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001752/29.69, allocations: 8.943 MB / 8.794 GB, free: 47.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/29.69, allocations: 18 kB / 8.794 GB, free: 47.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/29.7, allocations: 226.1 kB / 8.794 GB, free: 47.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/29.7, allocations: 1.103 MB / 8.795 GB, free: 47.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/29.7, allocations: 2.856 MB / 8.798 GB, free: 46.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/29.72, allocations: 1.176 MB / 8.799 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/29.72, allocations: 162.2 kB / 8.799 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/29.72, allocations: 4.906 kB / 8.799 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/29.73, allocations: 7.804 MB / 8.807 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-05/29.73, allocations: 21.34 kB / 8.807 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/29.73, allocations: 224.8 kB / 8.807 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/29.74, allocations: 1.103 MB / 8.808 GB, free: 46.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/29.74, allocations: 2.846 MB / 8.811 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/29.75, allocations: 1.144 MB / 8.812 GB, free: 45.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/29.75, allocations: 163 kB / 8.812 GB, free: 45.24 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001985/29.75, allocations: 348 kB / 8.813 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002755/29.76, allocations: 0.6184 MB / 8.813 GB, free: 44.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/29.77, allocations: 7.873 MB / 8.821 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/29.77, allocations: 44.25 kB / 8.821 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/29.77, allocations: 3.875 kB / 8.821 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009636/29.78, allocations: 6.604 MB / 8.827 GB, free: 44.04 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04744/29.83, allocations: 20 MB / 8.847 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/29.83, allocations: 3.625 kB / 8.847 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005721/29.84, allocations: 1.143 MB / 8.848 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/29.84, allocations: 204 kB / 8.848 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/29.84, allocations: 131.7 kB / 8.848 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/29.84, allocations: 2.817 MB / 8.851 GB, free: 41.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/29.84, allocations: 7.469 kB / 8.851 GB, free: 41.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/29.86, allocations: 12.68 MB / 8.863 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00877/29.87, allocations: 2.183 MB / 8.866 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003452/29.87, allocations: 118.2 kB / 8.866 GB, free: 35.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/29.88, allocations: 0.9569 MB / 8.867 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/29.89, allocations: 232.4 kB / 8.867 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006628/29.89, allocations: 140.5 kB / 8.867 GB, free: 35.56 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01422/29.9, allocations: 6.385 MB / 8.873 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.012e-06/29.9, allocations: 0 / 8.873 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02918/29.93, allocations: 4.614 MB / 8.878 GB, free: 29.88 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02995/29.96, allocations: 18.2 MB / 8.896 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02108/29.98, allocations: 11.67 MB / 8.907 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/29.98, allocations: 0 / 8.907 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006594/29.99, allocations: 3.555 MB / 8.91 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03131/30.02, allocations: 5.069 MB / 8.915 GB, free: 14.28 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06225/30.08, allocations: 23.68 MB / 8.938 GB, free: 10.55 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/30.09, allocations: 7.164 MB / 8.945 GB, free: 4.945 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04722/30.14, allocations: 13.09 MB / 8.958 GB, free: 0 / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.805/30.95, allocations: 3.936 MB / 8.962 GB, free: 98.45 MB / 1.026 GB Notification: Performance of SimCode: time 1.673e-06/30.95, allocations: 0 / 8.962 GB, free: 98.45 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.517/31.46, allocations: 321.2 MB / 9.276 GB, free: 15.91 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/31.46, allocations: 236.8 kB / 9.276 GB, free: 15.59 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/44.57, allocations: 8.469 kB / 9.276 GB, free: 15.59 MB / 1.042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)