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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.914 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.001088/0.001087, allocations: 176.9 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0007895/0.0007893, allocations: 74.56 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.234e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.728/6.928, allocations: 2.472 GB / 3.357 GB, free: 278.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/6.929, allocations: 87.95 kB / 3.357 GB, free: 278.1 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 19.65/26.57, allocations: 5.218 GB / 8.575 GB, free: 76.46 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.294e-06/26.57, allocations: 2.797 kB / 8.575 GB, free: 76.46 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002695/26.58, allocations: 208.5 kB / 8.575 GB, free: 76.43 MB / 0.9792 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.03953/26.62, allocations: 8.877 MB / 8.584 GB, free: 74.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/26.62, allocations: 9 kB / 8.584 GB, free: 74.07 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/26.63, allocations: 1.867 MB / 8.586 GB, free: 73.58 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04313/26.68, allocations: 14.95 MB / 8.6 GB, free: 72.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006332/26.68, allocations: 202.8 kB / 8.6 GB, free: 72.39 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004081/26.68, allocations: 377.7 kB / 8.601 GB, free: 72.39 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02453/26.71, allocations: 9.93 MB / 8.611 GB, free: 72.36 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03575/26.74, allocations: 10.5 MB / 8.621 GB, free: 71.79 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005513/26.74, allocations: 20.5 kB / 8.621 GB, free: 71.79 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003292/26.75, allocations: 7.312 kB / 8.621 GB, free: 71.79 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/26.75, allocations: 293.1 kB / 8.621 GB, free: 71.77 MB / 0.9792 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.09975/26.85, allocations: 48.6 MB / 8.669 GB, free: 54.88 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/26.86, allocations: 7.466 MB / 8.676 GB, free: 53.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008546/26.87, allocations: 4.389 MB / 8.68 GB, free: 53.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/26.87, allocations: 0.9309 MB / 8.681 GB, free: 53 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/26.87, allocations: 87.09 kB / 8.681 GB, free: 52.96 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008859/26.88, allocations: 1.292 MB / 8.682 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 3.739e-05/26.88, allocations: 2.469 kB / 8.682 GB, free: 52.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.04716/26.93, allocations: 15.03 MB / 8.697 GB, free: 50.93 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/26.93, allocations: 91.55 kB / 8.697 GB, free: 50.86 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02071/26.95, allocations: 7.67 MB / 8.705 GB, free: 50.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001701/26.95, allocations: 34.36 kB / 8.705 GB, free: 50.47 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00637/26.95, allocations: 3.62 MB / 8.708 GB, free: 49.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003189/26.96, allocations: 1.279 MB / 8.709 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/26.96, allocations: 0 / 8.709 GB, free: 48.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006699/26.96, allocations: 490 kB / 8.71 GB, free: 48.12 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00597/26.97, allocations: 3.148 MB / 8.713 GB, free: 48.11 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006999/26.97, allocations: 4.36 MB / 8.717 GB, free: 47.03 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00772/26.98, allocations: 4.163 MB / 8.721 GB, free: 46.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/26.98, allocations: 3.875 kB / 8.721 GB, free: 46.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02025/27, allocations: 7.973 MB / 8.729 GB, free: 46.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004117/27, allocations: 9.116 MB / 8.738 GB, free: 53.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.989e-05/27, allocations: 20.62 kB / 8.738 GB, free: 53.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008111/27.01, allocations: 226.7 kB / 8.738 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/27.01, allocations: 1.105 MB / 8.739 GB, free: 53.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/27.01, allocations: 2.771 MB / 8.742 GB, free: 52.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/27.03, allocations: 1.083 MB / 8.743 GB, free: 52.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/27.03, allocations: 164.6 kB / 8.743 GB, free: 52.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/27.03, allocations: 4.531 kB / 8.743 GB, free: 52.04 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01505/27.04, allocations: 7.335 MB / 8.75 GB, free: 51.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.809e-05/27.04, allocations: 18.59 kB / 8.75 GB, free: 51.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/27.04, allocations: 224 kB / 8.751 GB, free: 51.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005248/27.05, allocations: 1.104 MB / 8.752 GB, free: 51.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/27.05, allocations: 2.775 MB / 8.754 GB, free: 50.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/27.06, allocations: 1.076 MB / 8.755 GB, free: 50.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/27.06, allocations: 161.7 kB / 8.756 GB, free: 50.67 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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.002635/27.07, allocations: 195.2 kB / 8.756 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01435/27.08, allocations: 6.772 MB / 8.762 GB, free: 50.11 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00285/27.08, allocations: 0.6043 MB / 8.763 GB, free: 49.79 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/27.1, allocations: 7.474 MB / 8.77 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/27.1, allocations: 37.66 kB / 8.77 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/27.1, allocations: 7.734 kB / 8.77 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009265/27.11, allocations: 6.332 MB / 8.777 GB, free: 49.02 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.04248/27.15, allocations: 18.71 MB / 8.795 GB, free: 47.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/27.15, allocations: 3.938 kB / 8.795 GB, free: 47.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005055/27.16, allocations: 1.141 MB / 8.796 GB, free: 47.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/27.16, allocations: 206.4 kB / 8.796 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005568/27.16, allocations: 76.31 kB / 8.796 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/27.16, allocations: 2.745 MB / 8.799 GB, free: 46.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/27.16, allocations: 5.531 kB / 8.799 GB, free: 46.61 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/27.18, allocations: 12.22 MB / 8.811 GB, free: 45.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00727/27.19, allocations: 2.154 MB / 8.813 GB, free: 44.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/27.19, allocations: 56.45 kB / 8.813 GB, free: 44.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008902/27.2, allocations: 0.8884 MB / 8.814 GB, free: 44.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008164/27.2, allocations: 235.8 kB / 8.814 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007567/27.2, allocations: 136.5 kB / 8.814 GB, free: 44.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0125/27.21, allocations: 6.032 MB / 8.82 GB, free: 44.41 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.01e-07/27.21, allocations: 0 / 8.82 GB, free: 44.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02576/27.24, allocations: 4.347 MB / 8.824 GB, free: 44.38 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.03002/27.27, allocations: 18.04 MB / 8.842 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01951/27.29, allocations: 11.18 MB / 8.853 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/27.29, allocations: 4 kB / 8.853 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005581/27.29, allocations: 3.409 MB / 8.856 GB, free: 31.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02761/27.32, allocations: 4.735 MB / 8.861 GB, free: 28.15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07288/27.39, allocations: 23.97 MB / 8.884 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01353/27.41, allocations: 7.158 MB / 8.891 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.05948/27.47, allocations: 14.06 MB / 8.905 GB, free: 0 / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02089/27.49, allocations: 3.977 MB / 8.909 GB, free: 15.82 MB / 1.01 GB Notification: Performance of SimCode: time 1.473e-06/27.49, allocations: 0 / 8.909 GB, free: 15.82 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/28.71, allocations: 266.4 MB / 9.169 GB, free: 61.62 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/28.71, allocations: 193 kB / 9.169 GB, free: 61.43 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/38.83, allocations: 3.125 kB / 9.169 GB, free: 61.43 MB / 1.01 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)