Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.0009393/0.0009393, allocations: 99 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.0009441/0.0009441, allocations: 177.3 kB / 15.94 MB, free: 228 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.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004016, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7704, allocations: 146.8 MB / 0.9809 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00172/0.7722, allocations: 1.293 MB / 0.9821 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.7734, allocations: 0.8391 MB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.7735, allocations: 3.938 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.7735, allocations: 11.92 kB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.7737, allocations: 19.97 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.774, allocations: 98.17 kB / 0.9831 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.7741, allocations: 43.94 kB / 0.9831 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.7742, allocations: 11.97 kB / 0.9831 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.7743, allocations: 39.84 kB / 0.9832 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.7744, allocations: 31.91 kB / 0.9832 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.7744, allocations: 0 / 0.9832 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.7748, allocations: 267.6 kB / 0.9835 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.7748, allocations: 4 kB / 0.9835 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.7748, allocations: 33.64 kB / 0.9835 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.775, allocations: 106 kB / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.775, allocations: 0 / 0.9836 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.836e-06/0.775, allocations: 4 kB / 0.9836 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.775, allocations: 0 / 0.9836 GB, free: 3.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000498/0.7755, allocations: 403 kB / 0.984 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7756, allocations: 8.031 kB / 0.984 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.7756, allocations: 38.55 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.7757, allocations: 11.91 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.7759, allocations: 182.9 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.7759, allocations: 8 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.7759, allocations: 7.953 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.7761, allocations: 69.59 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7761, allocations: 3.984 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7761, allocations: 0 / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7761, allocations: 0 / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.7763, allocations: 51.97 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.7767, allocations: 296.8 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.7768, allocations: 58.5 kB / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.7769, allocations: 0 / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.7769, allocations: 38.55 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.7769, allocations: 0 / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003543/0.7773, allocations: 125.7 kB / 0.9848 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.7773, allocations: 51.41 kB / 0.9849 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.7774, allocations: 127.6 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7774, allocations: 25.7 kB / 0.985 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.7775, allocations: 104.1 kB / 0.9851 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.7775, allocations: 11.8 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.7775, allocations: 0 / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.7776, allocations: 330.8 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.7777, allocations: 27.92 kB / 0.9855 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.7778, allocations: 31.92 kB / 0.9855 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.7779, allocations: 23.98 kB / 0.9855 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7779, allocations: 7.953 kB / 0.9855 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000205/0.7781, allocations: 93.67 kB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7781, allocations: 4 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7781, allocations: 0 / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7781, allocations: 7.984 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7782, allocations: 12 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.7783, allocations: 4 kB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.7783, allocations: 11.89 kB / 0.9857 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.7783, allocations: 4 kB / 0.9857 GB, free: 1.277 MB / 0.7325 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 () * Number of clocked 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.383e-05/0.7784, allocations: 115.3 kB / 0.9858 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.7785, allocations: 11.86 kB / 0.9858 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.7787, allocations: 114 kB / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7787, allocations: 0 / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.7787, allocations: 0 / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7787, allocations: 0 / 0.9859 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.7789, allocations: 185.6 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7789, allocations: 4 kB / 0.9861 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.779, allocations: 19.94 kB / 0.9861 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.779, allocations: 4 kB / 0.9861 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.779, allocations: 3.984 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.7791, allocations: 4.438 kB / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7791, allocations: 0 / 0.9861 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.7793, allocations: 191.4 kB / 0.9863 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.7794, allocations: 93 kB / 0.9864 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.7794, allocations: 3.953 kB / 0.9864 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.7795, allocations: 4 kB / 0.9864 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.7795, allocations: 7.984 kB / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7795, allocations: 0 / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.7796, allocations: 102.2 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7796, allocations: 4 kB / 0.9865 GB, free: 344 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002333/0.7798, allocations: 16 kB / 0.9865 GB, free: 328 kB / 0.7325 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 () * Number of clocked 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.0005863/0.7804, allocations: 0.7552 MB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.7807, allocations: 63.97 kB / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7807, allocations: 0 / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.7808, allocations: 35.92 kB / 0.9874 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.781, allocations: 23.88 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.7816, allocations: 412.4 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.7818, allocations: 0.6926 MB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.589e-05/0.7819, allocations: 8.172 kB / 0.9885 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.7819, allocations: 23.42 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.7819, allocations: 3.938 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4587/1.241, allocations: 1.999 MB / 0.9904 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/1.241, allocations: 193.9 kB / 0.9906 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.814, allocations: 2.031 kB / 0.9906 GB, free: 12.16 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat does not exist to compare? outputFormat=mat