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.256/2.256, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001496/0.001496, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001143/0.001143, allocations: 88.02 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.037e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.325/6.657, allocations: 2.215 GB / 3.434 GB, free: 70.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/6.657, allocations: 91.94 kB / 3.434 GB, free: 70.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.22/16.87, allocations: 2.343 GB / 5.777 GB, free: 167.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.332e-06/16.87, allocations: 0 / 5.777 GB, free: 167.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001437/16.87, allocations: 156 kB / 5.777 GB, free: 167.4 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.02703/16.9, allocations: 5.654 MB / 5.782 GB, free: 165.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/16.9, allocations: 9.422 kB / 5.782 GB, free: 165.6 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003591/16.91, allocations: 0.5765 MB / 5.783 GB, free: 165.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/16.92, allocations: 1.326 MB / 5.784 GB, free: 165.2 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/16.94, allocations: 7.087 MB / 5.791 GB, free: 164.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007523/16.94, allocations: 318.7 kB / 5.792 GB, free: 164.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/16.95, allocations: 433.9 kB / 5.792 GB, free: 164.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/16.97, allocations: 5.746 MB / 5.798 GB, free: 164.1 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/16.97, allocations: 8.562 kB / 5.798 GB, free: 164.1 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008506/16.97, allocations: 173.7 kB / 5.798 GB, free: 164.1 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/16.97, allocations: 203.5 kB / 5.798 GB, free: 164.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/16.98, allocations: 4.931 MB / 5.803 GB, free: 164 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.05358/17.04, allocations: 25.59 MB / 5.828 GB, free: 153.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/17.04, allocations: 3.999 MB / 5.832 GB, free: 153 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/17.05, allocations: 2.189 MB / 5.834 GB, free: 152.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/17.05, allocations: 0.9119 MB / 5.835 GB, free: 152 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003857/17.05, allocations: 1.893 MB / 5.837 GB, free: 151.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=285): time 5.48e-06/17.05, allocations: 5.031 kB / 5.837 GB, free: 151.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=289): time 0.02226/17.08, allocations: 8.517 MB / 5.845 GB, free: 150.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/17.08, allocations: 159.6 kB / 5.845 GB, free: 150.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008333/17.08, allocations: 4.191 MB / 5.849 GB, free: 149.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/17.09, allocations: 91.52 kB / 5.849 GB, free: 149.7 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.002749/17.09, allocations: 2.438 MB / 5.852 GB, free: 149 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001745/17.09, allocations: 1.001 MB / 5.853 GB, free: 148.3 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/17.09, allocations: 58.41 kB / 5.853 GB, free: 148.3 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001948/17.09, allocations: 423.8 kB / 5.853 GB, free: 148 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/17.09, allocations: 1.514 MB / 5.854 GB, free: 148 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/17.1, allocations: 2.258 MB / 5.857 GB, free: 147.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/17.1, allocations: 1.977 MB / 5.859 GB, free: 147.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/17.1, allocations: 1.594 kB / 5.859 GB, free: 147.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.008555/17.11, allocations: 4.48 MB / 5.863 GB, free: 146.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001448/17.11, allocations: 5.705 MB / 5.869 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/17.11, allocations: 11.34 kB / 5.869 GB, free: 140.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/17.11, allocations: 210.3 kB / 5.869 GB, free: 140.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/17.11, allocations: 0.6791 MB / 5.869 GB, free: 140.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/17.12, allocations: 3.419 MB / 5.873 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007152/17.12, allocations: 0.5615 MB / 5.873 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/17.12, allocations: 123.1 kB / 5.873 GB, free: 138.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/17.12, allocations: 4.719 kB / 5.873 GB, free: 138.2 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006671/17.13, allocations: 4.059 MB / 5.877 GB, free: 138 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/17.13, allocations: 19.39 kB / 5.877 GB, free: 138 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/17.13, allocations: 210.9 kB / 5.878 GB, free: 138 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/17.13, allocations: 0.6654 MB / 5.878 GB, free: 138 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/17.14, allocations: 4.054 MB / 5.882 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00712/17.14, allocations: 0.5507 MB / 5.883 GB, free: 135.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006259/17.14, allocations: 120.1 kB / 5.883 GB, free: 135.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (353): * Single equations (assignments): 349 * 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.001458/17.15, allocations: 320 kB / 5.883 GB, free: 135.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00251/17.15, allocations: 472.3 kB / 5.884 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008397/17.16, allocations: 4.259 MB / 5.888 GB, free: 134.6 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/17.16, allocations: 33.25 kB / 5.888 GB, free: 134.6 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/17.16, allocations: 0 / 5.888 GB, free: 134.6 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004883/17.16, allocations: 3.547 MB / 5.891 GB, free: 134.3 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.02079/17.18, allocations: 10.75 MB / 5.902 GB, free: 133.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/17.18, allocations: 3.406 kB / 5.902 GB, free: 133.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/17.19, allocations: 0.6594 MB / 5.902 GB, free: 133.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/17.19, allocations: 157.2 kB / 5.903 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/17.19, allocations: 91.55 kB / 5.903 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/17.19, allocations: 3.311 MB / 5.906 GB, free: 130.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/17.19, allocations: 7.344 kB / 5.906 GB, free: 130.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009503/17.2, allocations: 6.72 MB / 5.912 GB, free: 129.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004604/17.2, allocations: 1.121 MB / 5.914 GB, free: 129.1 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/17.2, allocations: 80.34 kB / 5.914 GB, free: 129.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00546/17.21, allocations: 472.5 kB / 5.914 GB, free: 129.1 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/17.21, allocations: 184 kB / 5.914 GB, free: 129.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/17.21, allocations: 108.8 kB / 5.914 GB, free: 129.1 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.006829/17.22, allocations: 3.29 MB / 5.918 GB, free: 128.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.9e-07/17.22, allocations: 0 / 5.918 GB, free: 128.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02163/17.24, allocations: 2.939 MB / 5.92 GB, free: 128.8 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.01763/17.26, allocations: 11.01 MB / 5.931 GB, free: 125.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0123/17.27, allocations: 6.438 MB / 5.938 GB, free: 124.6 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.694e-05/17.27, allocations: 3.625 kB / 5.938 GB, free: 124.6 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/17.27, allocations: 2.032 MB / 5.94 GB, free: 124.4 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01706/17.29, allocations: 2.901 MB / 5.942 GB, free: 124.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/17.32, allocations: 12.32 MB / 5.954 GB, free: 122.1 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005888/17.33, allocations: 4.217 MB / 5.958 GB, free: 121.3 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.01462/17.35, allocations: 4.033 MB / 5.962 GB, free: 121.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005078/17.35, allocations: 2.234 MB / 5.965 GB, free: 121.2 MB / 1.214 GB Notification: Performance of SimCode: time 1.202e-06/17.35, allocations: 0 / 5.965 GB, free: 121.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3158/17.67, allocations: 201 MB / 6.161 GB, free: 25.68 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/17.67, allocations: 243.1 kB / 6.161 GB, free: 25.35 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.782/27.45, allocations: 7.875 kB / 6.161 GB, free: 25.34 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