Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 176.9 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 103.8 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.081e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.729/6.055, allocations: 2.214 GB / 3.427 GB, free: 86.38 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/6.056, allocations: 91.95 kB / 3.427 GB, free: 86.29 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.217/15.27, allocations: 2.324 GB / 5.751 GB, free: 13.95 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.645e-06/15.27, allocations: 0 / 5.751 GB, free: 13.95 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001652/15.27, allocations: 155.9 kB / 5.751 GB, free: 13.79 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1075 * Number of variables: 1075 Notification: Performance of Generate backend data structure: time 0.02691/15.3, allocations: 5.644 MB / 5.756 GB, free: 8.07 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/15.3, allocations: 12.56 kB / 5.756 GB, free: 8.059 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/15.31, allocations: 1.323 MB / 5.758 GB, free: 6.727 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.173/16.49, allocations: 7.085 MB / 5.764 GB, free: 169.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/16.49, allocations: 131.2 kB / 5.765 GB, free: 169.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002465/16.49, allocations: 254 kB / 5.765 GB, free: 169.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0181/16.51, allocations: 4.599 MB / 5.769 GB, free: 169.1 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/16.53, allocations: 5.128 MB / 5.774 GB, free: 168.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004442/16.53, allocations: 13.02 kB / 5.774 GB, free: 168.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/16.54, allocations: 5.5 kB / 5.774 GB, free: 168.7 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/16.54, allocations: 202.1 kB / 5.775 GB, free: 168.7 MB / 1.214 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.06212/16.6, allocations: 24.76 MB / 5.799 GB, free: 159 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008245/16.61, allocations: 4.874 MB / 5.803 GB, free: 157.2 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004085/16.61, allocations: 2.08 MB / 5.806 GB, free: 157.1 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/16.61, allocations: 0.913 MB / 5.806 GB, free: 156.2 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004105/16.62, allocations: 1.89 MB / 5.808 GB, free: 156 MB / 1.214 GB Notification: Performance of pre-optimization done (n=285): time 5.681e-06/16.62, allocations: 1.031 kB / 5.808 GB, free: 156 MB / 1.214 GB Notification: Performance of matching and sorting (n=289): time 0.02898/16.65, allocations: 9.591 MB / 5.818 GB, free: 153.5 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/16.65, allocations: 216.6 kB / 5.818 GB, free: 153.2 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007845/16.65, allocations: 3.892 MB / 5.822 GB, free: 153 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/16.65, allocations: 32.92 kB / 5.822 GB, free: 152.9 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/16.66, allocations: 2.456 MB / 5.824 GB, free: 152.4 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/16.66, allocations: 0.9621 MB / 5.825 GB, free: 151.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/16.66, allocations: 3.094 kB / 5.825 GB, free: 151.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000237/16.66, allocations: 425.4 kB / 5.825 GB, free: 151.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/16.66, allocations: 1.421 MB / 5.827 GB, free: 151.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/16.66, allocations: 2.155 MB / 5.829 GB, free: 150.8 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/16.67, allocations: 1.926 MB / 5.831 GB, free: 150.8 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/16.67, allocations: 3.375 kB / 5.831 GB, free: 150.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.008862/16.68, allocations: 4.223 MB / 5.835 GB, free: 150.4 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001393/16.68, allocations: 5.868 MB / 5.841 GB, free: 144.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/16.68, allocations: 17.34 kB / 5.841 GB, free: 144.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/16.68, allocations: 203 kB / 5.841 GB, free: 144.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/16.68, allocations: 0.6759 MB / 5.842 GB, free: 144.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/16.69, allocations: 3.37 MB / 5.845 GB, free: 141.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007465/16.69, allocations: 0.504 MB / 5.845 GB, free: 141.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009827/16.69, allocations: 125.2 kB / 5.845 GB, free: 141.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/16.69, allocations: 3.594 kB / 5.845 GB, free: 141.8 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007159/16.7, allocations: 3.708 MB / 5.849 GB, free: 141.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/16.7, allocations: 16.11 kB / 5.849 GB, free: 141.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/16.7, allocations: 200.8 kB / 5.849 GB, free: 141.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/16.7, allocations: 0.6724 MB / 5.85 GB, free: 141.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/16.71, allocations: 3.917 MB / 5.854 GB, free: 139.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/16.72, allocations: 498.1 kB / 5.854 GB, free: 139.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009797/16.72, allocations: 125.6 kB / 5.854 GB, free: 139.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001936/16.72, allocations: 205.2 kB / 5.855 GB, free: 138.9 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01067/16.73, allocations: 3.574 MB / 5.858 GB, free: 138.6 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/16.73, allocations: 462.8 kB / 5.858 GB, free: 138.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/16.74, allocations: 3.92 MB / 5.862 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/16.74, allocations: 30.56 kB / 5.862 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/16.74, allocations: 7.891 kB / 5.862 GB, free: 138.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006161/16.75, allocations: 3.279 MB / 5.866 GB, free: 137.8 MB / 1.214 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.02844/16.78, allocations: 10.07 MB / 5.875 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/16.78, allocations: 3.906 kB / 5.875 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/16.78, allocations: 0.6555 MB / 5.876 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/16.78, allocations: 153.2 kB / 5.876 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005923/16.78, allocations: 50 kB / 5.876 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/16.78, allocations: 3.259 MB / 5.879 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/16.78, allocations: 10.53 kB / 5.879 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/16.8, allocations: 6.39 MB / 5.886 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005278/16.8, allocations: 1.094 MB / 5.887 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002665/16.81, allocations: 33.72 kB / 5.887 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007379/16.81, allocations: 425 kB / 5.887 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008725/16.81, allocations: 182.6 kB / 5.887 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000803/16.81, allocations: 109.7 kB / 5.887 GB, free: 132.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.009332/16.82, allocations: 3.012 MB / 5.89 GB, free: 132.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.142e-06/16.82, allocations: 3.75 kB / 5.89 GB, free: 132.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02106/16.85, allocations: 2.723 MB / 5.893 GB, free: 132.5 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.s[1],val.filter.s[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0229/16.87, allocations: 10.9 MB / 5.904 GB, free: 128.9 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01433/16.88, allocations: 6.061 MB / 5.91 GB, free: 128.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-05/16.88, allocations: 4.594 kB / 5.91 GB, free: 128.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/16.89, allocations: 1.909 MB / 5.911 GB, free: 128.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01876/16.91, allocations: 2.774 MB / 5.914 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04402/16.95, allocations: 12.01 MB / 5.926 GB, free: 126 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009189/16.96, allocations: 4.219 MB / 5.93 GB, free: 125.2 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01885/16.98, allocations: 4.088 MB / 5.934 GB, free: 125.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007057/16.99, allocations: 2.222 MB / 5.936 GB, free: 125.1 MB / 1.214 GB Notification: Performance of SimCode: time 1.713e-06/16.99, allocations: 0 / 5.936 GB, free: 125.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/17.3, allocations: 164.5 MB / 6.097 GB, free: 84.33 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/17.3, allocations: 194.9 kB / 6.097 GB, free: 84.14 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/25.83, allocations: 4 kB / 6.097 GB, free: 84.13 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl_res.mat does not exist to compare? outputFormat=mat