Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 184.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.0008656, allocations: 79.44 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.146e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7239/0.7239, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.843/7.567, allocations: 2.355 GB / 3.328 GB, free: 85.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/7.567, allocations: 88.77 kB / 3.329 GB, free: 85.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.66/30.22, allocations: 5.363 GB / 8.692 GB, free: 60.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.525e-06/30.22, allocations: 3.125 kB / 8.692 GB, free: 60.69 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002115/30.23, allocations: 207.6 kB / 8.692 GB, free: 60.64 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.03147/30.26, allocations: 8.866 MB / 8.701 GB, free: 52.31 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/30.26, allocations: 8.031 kB / 8.701 GB, free: 52.3 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/30.27, allocations: 1.851 MB / 8.702 GB, free: 50.44 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0342/30.31, allocations: 14.89 MB / 8.717 GB, free: 35.5 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/30.31, allocations: 204 kB / 8.717 GB, free: 35.3 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/30.31, allocations: 383.9 kB / 8.717 GB, free: 34.93 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02133/30.33, allocations: 9.86 MB / 8.727 GB, free: 25.06 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/30.36, allocations: 10.45 MB / 8.737 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004852/30.36, allocations: 11.94 kB / 8.737 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002935/30.37, allocations: 8 kB / 8.737 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002995/30.37, allocations: 284.2 kB / 8.738 GB, free: 14.12 MB / 1.042 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.9773/31.34, allocations: 48.54 MB / 8.785 GB, free: 82.16 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/31.35, allocations: 7.993 MB / 8.793 GB, free: 80.7 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008288/31.36, allocations: 4.407 MB / 8.797 GB, free: 80.66 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/31.36, allocations: 0.935 MB / 8.798 GB, free: 79.72 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/31.36, allocations: 86.97 kB / 8.798 GB, free: 79.68 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009825/31.37, allocations: 1.29 MB / 8.799 GB, free: 79.68 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 5.146e-05/31.37, allocations: 4.812 kB / 8.799 GB, free: 79.68 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.04764/31.42, allocations: 15.11 MB / 8.814 GB, free: 78.27 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/31.42, allocations: 93.39 kB / 8.814 GB, free: 78.2 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02645/31.45, allocations: 7.617 MB / 8.822 GB, free: 77.86 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002238/31.45, allocations: 32.95 kB / 8.822 GB, free: 77.82 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.009143/31.46, allocations: 3.598 MB / 8.825 GB, free: 77.01 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.004348/31.46, allocations: 1.278 MB / 8.826 GB, free: 76.35 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/31.47, allocations: 0 / 8.826 GB, free: 76.35 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0008953/31.47, allocations: 495 kB / 8.827 GB, free: 76.04 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009815/31.48, allocations: 3.165 MB / 8.83 GB, free: 76.03 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/31.49, allocations: 4.38 MB / 8.834 GB, free: 74.95 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/31.5, allocations: 4.185 MB / 8.838 GB, free: 74.89 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/31.5, allocations: 3.219 kB / 8.838 GB, free: 74.89 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02759/31.53, allocations: 8.018 MB / 8.846 GB, free: 74.45 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002441/31.53, allocations: 9.123 MB / 8.855 GB, free: 65.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/31.53, allocations: 18.47 kB / 8.855 GB, free: 65.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/31.53, allocations: 225.5 kB / 8.855 GB, free: 65.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008214/31.54, allocations: 1.111 MB / 8.856 GB, free: 65.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/31.55, allocations: 2.766 MB / 8.859 GB, free: 64.01 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/31.56, allocations: 1.087 MB / 8.86 GB, free: 63.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002204/31.57, allocations: 165.8 kB / 8.86 GB, free: 63.98 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/31.57, allocations: 8.281 kB / 8.86 GB, free: 63.98 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02493/31.59, allocations: 7.373 MB / 8.868 GB, free: 63.88 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/31.59, allocations: 21.56 kB / 8.868 GB, free: 63.88 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/31.59, allocations: 224.1 kB / 8.868 GB, free: 63.87 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008406/31.6, allocations: 1.116 MB / 8.869 GB, free: 63.87 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/31.6, allocations: 2.773 MB / 8.872 GB, free: 62.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/31.62, allocations: 1.069 MB / 8.873 GB, free: 62.63 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/31.62, allocations: 168.4 kB / 8.873 GB, free: 62.63 MB / 1.057 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.003789/31.63, allocations: 195.7 kB / 8.873 GB, free: 62.52 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02449/31.65, allocations: 6.812 MB / 8.88 GB, free: 62.07 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004639/31.66, allocations: 0.6064 MB / 8.88 GB, free: 61.76 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03107/31.69, allocations: 7.518 MB / 8.888 GB, free: 61.55 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/31.69, allocations: 45.72 kB / 8.888 GB, free: 61.54 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/31.69, allocations: 1.281 kB / 8.888 GB, free: 61.54 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01719/31.7, allocations: 6.365 MB / 8.894 GB, free: 61 MB / 1.057 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.0662/31.77, allocations: 19.25 MB / 8.913 GB, free: 59.4 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/31.77, allocations: 3.719 kB / 8.913 GB, free: 59.4 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007803/31.78, allocations: 1.094 MB / 8.914 GB, free: 59.4 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009313/31.78, allocations: 197.6 kB / 8.914 GB, free: 59.39 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/31.78, allocations: 78.19 kB / 8.914 GB, free: 59.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/31.79, allocations: 2.742 MB / 8.917 GB, free: 58.18 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/31.79, allocations: 13.94 kB / 8.917 GB, free: 58.18 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02894/31.81, allocations: 12.26 MB / 8.929 GB, free: 56.66 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/31.83, allocations: 2.099 MB / 8.931 GB, free: 56.25 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004287/31.83, allocations: 53.31 kB / 8.931 GB, free: 56.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/31.84, allocations: 0.8833 MB / 8.932 GB, free: 56.23 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/31.84, allocations: 230.2 kB / 8.932 GB, free: 56.22 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001323/31.85, allocations: 146.3 kB / 8.932 GB, free: 56.22 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01839/31.86, allocations: 5.985 MB / 8.938 GB, free: 56.01 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.82e-07/31.86, allocations: 0 / 8.938 GB, free: 56.01 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0252/31.89, allocations: 4.322 MB / 8.942 GB, free: 56.01 MB / 1.057 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.03221/31.92, allocations: 18.08 MB / 8.96 GB, free: 51.6 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01914/31.94, allocations: 11.23 MB / 8.971 GB, free: 51.28 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/31.94, allocations: 3.781 kB / 8.971 GB, free: 51.28 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00577/31.95, allocations: 3.424 MB / 8.974 GB, free: 51.16 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02814/31.97, allocations: 4.726 MB / 8.979 GB, free: 51.07 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07931/32.05, allocations: 23.86 MB / 9.002 GB, free: 48.09 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01676/32.07, allocations: 7.107 MB / 9.009 GB, free: 47.17 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03664/32.11, allocations: 11.83 MB / 9.02 GB, free: 47.08 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01192/32.12, allocations: 3.227 MB / 9.024 GB, free: 47.07 MB / 1.057 GB Notification: Performance of SimCode: time 1.854e-06/32.12, allocations: 0 / 9.024 GB, free: 47.07 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/33.48, allocations: 267 MB / 9.284 GB, free: 129.1 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/33.48, allocations: 178.9 kB / 9.284 GB, free: 128.9 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/45.11, allocations: 0 / 9.284 GB, free: 128.9 MB / 1.104 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)