Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_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.00102/0.00102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001019/0.001019, allocations: 192.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 294.3 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.847/0.847, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 91.16 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 86.98 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002244/0.1186, allocations: 1.624 MB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1197, allocations: 0.9346 MB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.1198, allocations: 0.625 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1198, allocations: 7.922 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.12, allocations: 17.58 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1202, allocations: 103.1 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.1203, allocations: 68.44 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.915e-05/0.1204, allocations: 18.2 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.1204, allocations: 31.84 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.1205, allocations: 40.59 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1206, allocations: 0 / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1209, allocations: 291.6 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.1209, allocations: 4 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.1209, allocations: 31.8 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1211, allocations: 147.6 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1211, allocations: 0 / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1211, allocations: 0 / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1211, allocations: 0 / 0.6828 GB, free: 13.77 MB / 494.1 MB 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.0004293/0.1216, allocations: 407.2 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1216, allocations: 12.03 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.1216, allocations: 34.75 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.1217, allocations: 12.83 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1219, allocations: 197.5 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.1219, allocations: 384 / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1219, allocations: 8.375 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.122, allocations: 65.78 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1221, allocations: 0 / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1221, allocations: 7.938 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1221, allocations: 8 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1222, allocations: 39.97 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1226, allocations: 300.7 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1227, allocations: 54.56 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.1228, allocations: 24.97 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1228, allocations: 8.062 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.1228, allocations: 30.56 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1228, allocations: 0 / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003028/0.1231, allocations: 109.5 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1232, allocations: 59.41 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.1232, allocations: 127.9 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1233, allocations: 29.7 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.1233, allocations: 96.12 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.1233, allocations: 15.75 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1234, allocations: 17.72 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.1235, allocations: 326.8 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.1235, allocations: 23.98 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1236, allocations: 19.98 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1237, allocations: 56.83 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1237, allocations: 0 / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001914/0.1239, allocations: 93.5 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.124, allocations: 4 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.124, allocations: 0 / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.124, allocations: 4 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1241, allocations: 15.98 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1241, allocations: 0 / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.1241, allocations: 4.438 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1242, allocations: 0 / 0.6849 GB, free: 11.37 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6e-05/0.1242, allocations: 123.1 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1243, allocations: 7.906 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1245, allocations: 109.9 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1245, allocations: 3.984 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1245, allocations: 3.984 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1245, allocations: 0 / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1247, allocations: 185.5 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1247, allocations: 7.938 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.1248, allocations: 15.92 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1248, allocations: 0 / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1248, allocations: 4 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1248, allocations: 4 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1248, allocations: 0 / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.125, allocations: 187.4 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.125, allocations: 88.95 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1251, allocations: 0 / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.1252, allocations: 7.984 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1252, allocations: 8 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1252, allocations: 4 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.1253, allocations: 95.27 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1253, allocations: 0 / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1255, allocations: 31.89 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004384/0.1259, allocations: 0.7319 MB / 0.6864 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1261, allocations: 55.95 kB / 0.6865 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1261, allocations: 0 / 0.6865 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1262, allocations: 27.98 kB / 0.6865 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1264, allocations: 15.84 kB / 0.6865 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1277, allocations: 1.472 MB / 0.688 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.1279, allocations: 0.6926 MB / 0.6887 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.177e-05/0.1279, allocations: 4 kB / 0.6887 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.128, allocations: 23.42 kB / 0.6887 GB, free: 7.246 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.128, allocations: 0 / 0.6887 GB, free: 7.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9766/1.105, allocations: 2.13 MB / 0.6908 GB, free: 5.273 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.105, allocations: 222.1 kB / 0.691 GB, free: 5.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.708, allocations: 3.375 kB / 0.691 GB, free: 5.023 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)