Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009362, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009332/0.0009333, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.466/2.466, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6594, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002166/0.6616, allocations: 1.749 MB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.663, allocations: 0.9872 MB / 0.9835 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.6631, allocations: 4 kB / 0.9835 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.6632, allocations: 15.8 kB / 0.9836 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.6635, allocations: 83.75 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.6638, allocations: 131.7 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.664, allocations: 199.4 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.6642, allocations: 48.7 kB / 0.984 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.6643, allocations: 91.61 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.6645, allocations: 123.5 kB / 0.9842 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.6645, allocations: 8 kB / 0.9842 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.6649, allocations: 271.6 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.6649, allocations: 31.78 kB / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.665, allocations: 69.56 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.6652, allocations: 217.7 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6653, allocations: 4 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6653, allocations: 0 / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6653, allocations: 0 / 0.9848 GB, free: 2.238 MB / 0.7325 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.001006/0.6663, allocations: 0.6077 MB / 0.9854 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6663, allocations: 12.03 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.6664, allocations: 46.55 kB / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.6666, allocations: 39.61 kB / 0.9855 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.6669, allocations: 262.4 kB / 0.9857 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.6669, allocations: 12.28 kB / 0.9857 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.667, allocations: 19.95 kB / 0.9858 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.6675, allocations: 252.6 kB / 0.986 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6675, allocations: 7.875 kB / 0.986 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6676, allocations: 4 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6676, allocations: 4 kB / 0.986 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.6682, allocations: 243.7 kB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.6693, allocations: 0.9501 MB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.6701, allocations: 257.2 kB / 0.9874 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.6701, allocations: 8 kB / 0.9874 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6701, allocations: 42.44 kB / 0.9875 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.6702, allocations: 0 / 0.9875 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001148/0.6713, allocations: 397.5 kB / 0.9878 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.6714, allocations: 81.05 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.6716, allocations: 267 kB / 0.9882 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.6716, allocations: 29.7 kB / 0.9882 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6718, allocations: 156.1 kB / 0.9884 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.6718, allocations: 55.2 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.6718, allocations: 8 kB / 0.9884 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6719, allocations: 338.8 kB / 0.9887 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.6723, allocations: 111.9 kB / 0.9888 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.6726, allocations: 163.2 kB / 0.989 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.673, allocations: 131.8 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.673, allocations: 0 / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008222/0.6738, allocations: 325.8 kB / 0.9894 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6739, allocations: 5.406 kB / 0.9894 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6739, allocations: 7.953 kB / 0.9894 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6739, allocations: 0 / 0.9894 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.6742, allocations: 84 kB / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6742, allocations: 0 / 0.9895 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6744, allocations: 43.81 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.6745, allocations: 12.08 kB / 0.9896 GB, free: 13.03 MB / 0.7481 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 () * Number of clocked 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 0.000113/0.6746, allocations: 139.1 kB / 0.9897 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6747, allocations: 27.72 kB / 0.9897 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008204/0.6755, allocations: 339.1 kB / 0.9901 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6755, allocations: 3.953 kB / 0.9901 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.6755, allocations: 4 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6756, allocations: 4 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.6759, allocations: 293.3 kB / 0.9904 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6759, allocations: 3.938 kB / 0.9904 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.6762, allocations: 71.89 kB / 0.9904 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6762, allocations: 0 / 0.9904 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.6762, allocations: 7.984 kB / 0.9904 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6762, allocations: 0 / 0.9904 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6762, allocations: 3.953 kB / 0.9904 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.6771, allocations: 496 kB / 0.9909 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.6771, allocations: 108.7 kB / 0.991 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.6772, allocations: 4 kB / 0.991 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.6775, allocations: 35.97 kB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.6775, allocations: 23.92 kB / 0.9911 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.6776, allocations: 4 kB / 0.9911 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001667/0.6777, allocations: 190 kB / 0.9913 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6777, allocations: 0 / 0.9913 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003412/0.6781, allocations: 60.25 kB / 0.9913 GB, free: 11.14 MB / 0.7481 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 () * Number of clocked 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.001193/0.6793, allocations: 1.103 MB / 0.9924 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.68, allocations: 273.4 kB / 0.9927 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.68, allocations: 0 / 0.9927 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.6804, allocations: 139.9 kB / 0.9928 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.6809, allocations: 69.36 kB / 0.9929 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.6822, allocations: 1.669 MB / 0.9945 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6825, allocations: 0.7596 MB / 0.9952 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.6826, allocations: 30.28 kB / 0.9953 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6827, allocations: 87.41 kB / 0.9953 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.6828, allocations: 3.938 kB / 0.9953 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5949/1.278, allocations: 5.758 MB / 1.001 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/1.278, allocations: 194.7 kB / 1.001 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/4.393, allocations: 2.109 kB / 1.001 GB, free: 1.117 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat