Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.409/2.409, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001145/0.001145, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.678/1.678, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009225/0.0009226, allocations: 87.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.671e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.491, allocations: 151.6 MB / 1.361 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.491, allocations: 85.69 kB / 1.361 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02129/1.513, allocations: 7.645 MB / 1.368 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.444e-06/1.513, allocations: 3.906 kB / 1.368 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.177e-05/1.513, allocations: 3.719 kB / 1.368 GB, free: 34.12 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009588/1.514, allocations: 0.5596 MB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.514, allocations: 7.656 kB / 1.369 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/1.514, allocations: 48.34 kB / 1.369 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/1.514, allocations: 40.75 kB / 1.369 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/1.515, allocations: 293.7 kB / 1.369 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/1.515, allocations: 11.28 kB / 1.369 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/1.515, allocations: 13.06 kB / 1.369 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/1.515, allocations: 180.3 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.515, allocations: 0 / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/1.515, allocations: 10.22 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.515, allocations: 3.812 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/1.515, allocations: 105.2 kB / 1.369 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/1.516, allocations: 0.9643 MB / 1.37 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/1.517, allocations: 198.3 kB / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/1.517, allocations: 56.34 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/1.517, allocations: 3.688 kB / 1.371 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/1.517, allocations: 34.47 kB / 1.371 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/1.517, allocations: 7.938 kB / 1.371 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003739/1.517, allocations: 150.3 kB / 1.371 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/1.517, allocations: 83.89 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/1.518, allocations: 230.7 kB / 1.371 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/1.518, allocations: 29.58 kB / 1.371 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/1.518, allocations: 172.1 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/1.518, allocations: 48.47 kB / 1.371 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/1.518, allocations: 6.969 kB / 1.371 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.518, allocations: 343.4 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/1.518, allocations: 45.53 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/1.518, allocations: 94.5 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/1.518, allocations: 54.42 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.518, allocations: 0 / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003222/1.519, allocations: 191.1 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.519, allocations: 7.688 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.519, allocations: 3.094 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.519, allocations: 3.969 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/1.519, allocations: 79.11 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.519, allocations: 0 / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.519, allocations: 55.03 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/1.519, allocations: 11.16 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.047e-05/1.519, allocations: 118.1 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/1.52, allocations: 27.12 kB / 1.372 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/1.52, allocations: 205.9 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.52, allocations: 0 / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.52, allocations: 7.875 kB / 1.372 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.52, allocations: 0 / 1.372 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/1.52, allocations: 294 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.52, allocations: 0 / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/1.52, allocations: 65.7 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.52, allocations: 0 / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.521, allocations: 17.41 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.521, allocations: 0 / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.521, allocations: 0 / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/1.521, allocations: 355.7 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/1.521, allocations: 108.3 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/1.521, allocations: 10.25 kB / 1.373 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/1.521, allocations: 40.95 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/1.521, allocations: 18.61 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.521, allocations: 7.844 kB / 1.373 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001435/1.522, allocations: 185.7 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.522, allocations: 4 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003256/1.522, allocations: 56.56 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0007083/1.523, allocations: 0.9819 MB / 1.375 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002405/1.523, allocations: 134.5 kB / 1.375 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.523, allocations: 0 / 1.375 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/1.523, allocations: 70.95 kB / 1.375 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/1.523, allocations: 67.94 kB / 1.375 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/1.524, allocations: 363.3 kB / 1.375 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.524, allocations: 0.7559 MB / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001467/1.525, allocations: 27.42 kB / 1.376 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/1.525, allocations: 82.66 kB / 1.376 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.525, allocations: 4 kB / 1.376 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/1.542, allocations: 5.79 MB / 1.382 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.542, allocations: 166.9 kB / 1.382 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/3.612, allocations: 0 / 1.382 GB, free: 28.15 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat