Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_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.0009394/0.0009394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00086/0.00086, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.00108, allocations: 65.81 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 80.92 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002345/0.1209, allocations: 1.623 MB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1222, allocations: 0.932 MB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.1223, allocations: 0 / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.1223, allocations: 7.875 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1225, allocations: 23.84 kB / 0.5863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1227, allocations: 95.83 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1228, allocations: 75.66 kB / 0.5865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.1229, allocations: 15.97 kB / 0.5865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.123, allocations: 39.78 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.1231, allocations: 31.84 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1231, allocations: 8 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.1234, allocations: 271.7 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1235, allocations: 11.98 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1235, allocations: 35.78 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1237, allocations: 143.9 kB / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1237, allocations: 0 / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1237, allocations: 0 / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.1237, allocations: 0 / 0.587 GB, free: 1.555 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.0004567/0.1242, allocations: 413.2 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1242, allocations: 8.031 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1243, allocations: 42.73 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.1244, allocations: 8.844 kB / 0.5875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1245, allocations: 188.1 kB / 0.5877 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.1245, allocations: 4.312 kB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1245, allocations: 7.938 kB / 0.5877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1247, allocations: 61.66 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1247, allocations: 0 / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1247, allocations: 4 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1247, allocations: 4 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1249, allocations: 39.97 kB / 0.5878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1252, allocations: 296.8 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1254, allocations: 58.5 kB / 0.5881 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.1255, allocations: 32.95 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1255, allocations: 4 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1255, allocations: 30.56 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1255, allocations: 0 / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003174/0.1258, allocations: 109.5 kB / 0.5883 GB, free: 96 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.1259, allocations: 51.41 kB / 0.5883 GB, free: 32 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.126, allocations: 132.3 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.126, allocations: 29.7 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.126, allocations: 92.12 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1261, allocations: 23.66 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.1261, allocations: 21.7 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.1262, allocations: 322.8 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.1263, allocations: 23.98 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.1263, allocations: 23.97 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1265, allocations: 53.22 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1265, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002024/0.1267, allocations: 97.53 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1267, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1267, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.1267, allocations: 0 / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1268, allocations: 15.98 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1269, allocations: 3.938 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.1269, allocations: 15.83 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1269, allocations: 0 / 0.5892 GB, free: 15.14 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.127, allocations: 113.8 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.127, allocations: 7.906 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1273, allocations: 109.9 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1273, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1273, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1273, allocations: 3.938 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1275, allocations: 173.6 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1275, allocations: 7.984 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.1276, allocations: 15.98 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1276, allocations: 0 / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1276, allocations: 8 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1276, allocations: 0 / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1276, allocations: 0 / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1278, allocations: 187.5 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1279, allocations: 92.95 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1279, allocations: 0 / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.128, allocations: 7.984 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.128, allocations: 4 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.128, allocations: 7.938 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.1281, allocations: 103.2 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1281, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1283, allocations: 24 kB / 0.59 GB, free: 14.19 MB / 0.4981 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 (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.0004659/0.1288, allocations: 0.7281 MB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.129, allocations: 63.89 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.129, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1291, allocations: 23.98 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1293, allocations: 23.86 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1306, allocations: 1.464 MB / 0.5922 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1309, allocations: 0.6926 MB / 0.5929 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.1309, allocations: 4 kB / 0.5929 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.131, allocations: 27.42 kB / 0.5929 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.131, allocations: 0 / 0.5929 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/0.3399, allocations: 2.088 MB / 0.595 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.3402, allocations: 202.5 kB / 0.5952 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/1.817, allocations: 3.938 kB / 0.5952 GB, free: 8.832 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)