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.0008464/0.0008467, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009227/0.0009229, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 12 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7993, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001829/0.8011, allocations: 1.308 MB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.8024, allocations: 0.8508 MB / 0.9833 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.8025, allocations: 0 / 0.9833 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.8026, allocations: 7.938 kB / 0.9833 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.8027, allocations: 19.84 kB / 0.9833 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.803, allocations: 91.77 kB / 0.9834 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.8031, allocations: 63.72 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.8032, allocations: 19.97 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.8033, allocations: 31.91 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.8035, allocations: 31.84 kB / 0.9835 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.8035, allocations: 4 kB / 0.9835 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.8038, allocations: 267.7 kB / 0.9838 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.8039, allocations: 11.92 kB / 0.9838 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.8039, allocations: 37.64 kB / 0.9838 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.8041, allocations: 98.08 kB / 0.9839 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8041, allocations: 0 / 0.9839 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8041, allocations: 4 kB / 0.9839 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8041, allocations: 0 / 0.9839 GB, free: 3.426 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.0005103/0.8046, allocations: 399 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8047, allocations: 12.03 kB / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.8047, allocations: 34.55 kB / 0.9843 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8048, allocations: 15.91 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.805, allocations: 180.5 kB / 0.9845 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.805, allocations: 8 kB / 0.9845 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.8051, allocations: 3.953 kB / 0.9845 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.8052, allocations: 69.64 kB / 0.9846 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8053, allocations: 3.938 kB / 0.9846 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.8053, allocations: 11.88 kB / 0.9846 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8053, allocations: 0 / 0.9846 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.8054, allocations: 51.97 kB / 0.9847 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.8059, allocations: 296.8 kB / 0.985 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.806, allocations: 54.56 kB / 0.985 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.8061, allocations: 40.89 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.8061, allocations: 4 kB / 0.985 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8062, allocations: 34.56 kB / 0.9851 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.8062, allocations: 4 kB / 0.9851 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.8065, allocations: 113.6 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.8066, allocations: 51.41 kB / 0.9852 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.8067, allocations: 127.4 kB / 0.9854 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.8067, allocations: 33.7 kB / 0.9854 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.8068, allocations: 100.1 kB / 0.9855 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.8068, allocations: 11.72 kB / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.8068, allocations: 8 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8069, allocations: 318.8 kB / 0.9858 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.807, allocations: 27.92 kB / 0.9858 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.8071, allocations: 27.98 kB / 0.9859 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.8072, allocations: 32.31 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8072, allocations: 4 kB / 0.9859 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001993/0.8074, allocations: 97.66 kB / 0.986 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.8074, allocations: 8 kB / 0.986 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8074, allocations: 0 / 0.986 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.8075, allocations: 0 / 0.986 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.8076, allocations: 15.98 kB / 0.986 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8076, allocations: 0 / 0.986 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.8077, allocations: 7.906 kB / 0.986 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.8077, allocations: 7.984 kB / 0.986 GB, free: 1.031 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 8.197e-05/0.8078, allocations: 125.7 kB / 0.9862 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.8078, allocations: 7.906 kB / 0.9862 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.8081, allocations: 106 kB / 0.9863 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8081, allocations: 0 / 0.9863 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8081, allocations: 0 / 0.9863 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8081, allocations: 4 kB / 0.9863 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.8083, allocations: 193.6 kB / 0.9864 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8083, allocations: 7.891 kB / 0.9865 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.8084, allocations: 12 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8084, allocations: 3.984 kB / 0.9865 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8084, allocations: 0 / 0.9865 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.8084, allocations: 3.938 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8084, allocations: 0 / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.8087, allocations: 203.4 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.8087, allocations: 84.97 kB / 0.9868 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8088, allocations: 0 / 0.9868 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.8088, allocations: 8 kB / 0.9868 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.8089, allocations: 8.172 kB / 0.9868 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.8089, allocations: 12 kB / 0.9868 GB, free: 176 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.809, allocations: 96.52 kB / 0.9869 GB, free: 80 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.809, allocations: 0 / 0.9869 GB, free: 80 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002299/0.8092, allocations: 20 kB / 0.9869 GB, free: 60 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.0006342/0.8098, allocations: 0.7474 MB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.8101, allocations: 59.97 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8101, allocations: 4 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.872e-05/0.8102, allocations: 35.92 kB / 0.9877 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8105, allocations: 14.94 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.8115, allocations: 0.6013 MB / 0.9883 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.8118, allocations: 0.6926 MB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.918e-05/0.8118, allocations: 12.11 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.8119, allocations: 19.42 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of SimCode: time 5e-07/0.8119, allocations: 0 / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.8245, allocations: 2.026 MB / 0.991 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.8248, allocations: 215.5 kB / 0.9912 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.675, allocations: 0 / 0.9912 GB, free: 11.7 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