Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00141/0.00141, allocations: 164.9 kB / 487.4 MB, free: 5.051 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.534/1.534, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009558, allocations: 103.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.031e-05, allocations: 9.797 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 142.3 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8939/1.208, allocations: 149.1 MB / 1.352 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.209, allocations: 87.66 kB / 1.352 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00424/1.213, allocations: 1.258 MB / 1.353 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.604e-06/1.213, allocations: 4 kB / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.213, allocations: 0 / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005725/1.213, allocations: 404.2 kB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/1.214, allocations: 8.516 kB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/1.214, allocations: 7.781 kB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.214, allocations: 171.5 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.214, allocations: 8.531 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.214, allocations: 0 / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001394/1.214, allocations: 29.47 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/1.214, allocations: 53.48 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.214, allocations: 0 / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.214, allocations: 0 / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.214, allocations: 4 kB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/1.215, allocations: 282.7 kB / 1.354 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/1.215, allocations: 56.02 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/1.215, allocations: 28.47 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/1.215, allocations: 4 kB / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/1.215, allocations: 31.08 kB / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.215, allocations: 0 / 1.354 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001863/1.215, allocations: 68.98 kB / 1.354 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/1.215, allocations: 51.41 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/1.215, allocations: 106.8 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.215, allocations: 29.67 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/1.215, allocations: 88.64 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/1.215, allocations: 25.52 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/1.215, allocations: 0 / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.215, allocations: 319.7 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/1.215, allocations: 10.88 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/1.215, allocations: 17.61 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/1.216, allocations: 15.14 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.216, allocations: 0 / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.763e-05/1.216, allocations: 69.48 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.216, allocations: 5.484 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.216, allocations: 4 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.216, allocations: 0.7969 kB / 1.355 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/1.216, allocations: 38.53 kB / 1.355 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.216, allocations: 0.75 kB / 1.355 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/1.216, allocations: 26.62 kB / 1.355 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.216, allocations: 3.844 kB / 1.355 GB, free: 32.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.685e-05/1.216, allocations: 105.7 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001064/1.216, allocations: 69.05 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.216, allocations: 8.297 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.216, allocations: 12.28 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.216, allocations: 4.516 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.216, allocations: 3.938 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.216, allocations: 4.656 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/1.216, allocations: 164.5 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.217, allocations: 4.594 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/1.217, allocations: 38.16 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.217, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/1.217, allocations: 0.5156 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.217, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.217, allocations: 4.562 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.217, allocations: 167.7 kB / 1.355 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/1.217, allocations: 81.81 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/1.217, allocations: 3.844 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.217, allocations: 26.84 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/1.217, allocations: 14.67 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/1.217, allocations: 0 / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.548e-05/1.217, allocations: 88.67 kB / 1.356 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.217, allocations: 0 / 1.356 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002074/1.217, allocations: 15.47 kB / 1.356 GB, free: 31.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004379/1.218, allocations: 0.7045 MB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001157/1.218, allocations: 36.91 kB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.218, allocations: 3.875 kB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/1.218, allocations: 23.81 kB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/1.218, allocations: 5.469 kB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/1.219, allocations: 131.2 kB / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/1.219, allocations: 0.6931 MB / 1.357 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.389e-05/1.219, allocations: 4.547 kB / 1.357 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/1.219, allocations: 22.73 kB / 1.357 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of SimCode: time 1.102e-06/1.219, allocations: 0 / 1.357 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/1.242, allocations: 1.393 MB / 1.359 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.242, allocations: 167 kB / 1.359 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.767, allocations: 0 / 1.359 GB, free: 30.07 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat does not exist to compare? outputFormat=mat