Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_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.001284/0.001284, allocations: 100.2 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.001547/0.001548, 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 2.051/2.051, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.285/1.285, allocations: 132.3 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005914/0.0005915, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7366, allocations: 81.58 MB / 0.583 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002737/0.7394, allocations: 1.715 MB / 0.5847 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.7413, allocations: 0.9851 MB / 0.5856 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.7415, allocations: 1.219 kB / 0.5856 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.7415, allocations: 18.45 kB / 0.5856 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.7419, allocations: 83.11 kB / 0.5857 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.7422, allocations: 127.8 kB / 0.5858 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.7426, allocations: 192 kB / 0.586 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.7427, allocations: 52.39 kB / 0.5861 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.7429, allocations: 83.89 kB / 0.5861 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.7432, allocations: 120.1 kB / 0.5863 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.7432, allocations: 12.5 kB / 0.5863 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.7438, allocations: 270.6 kB / 0.5865 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.7438, allocations: 39.33 kB / 0.5866 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.7439, allocations: 63.73 kB / 0.5866 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.7443, allocations: 220.6 kB / 0.5868 GB, free: 1.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7443, allocations: 4.469 kB / 0.5868 GB, free: 1.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7443, allocations: 0 / 0.5868 GB, free: 1.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.7443, allocations: 0.7188 kB / 0.5868 GB, free: 1.77 MB / 430.1 MB 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.00125/0.7456, allocations: 0.6127 MB / 0.5874 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.7456, allocations: 8.75 kB / 0.5875 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.556e-05/0.7457, allocations: 47.59 kB / 0.5875 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.746, allocations: 40.89 kB / 0.5875 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.7464, allocations: 264.8 kB / 0.5878 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.7465, allocations: 10.91 kB / 0.5878 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.7465, allocations: 21.78 kB / 0.5878 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.7472, allocations: 248.9 kB / 0.5881 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.7473, allocations: 1.188 kB / 0.5881 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.7473, allocations: 5.312 kB / 0.5881 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.7473, allocations: 3.906 kB / 0.5881 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.7482, allocations: 245 kB / 0.5883 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.7497, allocations: 0.9494 MB / 0.5892 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.7507, allocations: 264.2 kB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.7508, allocations: 6.172 kB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.7508, allocations: 32.61 kB / 0.5895 GB, free: 15.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.7508, allocations: 0.625 kB / 0.5895 GB, free: 15.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001531/0.7524, allocations: 400.4 kB / 0.5899 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.7525, allocations: 84.06 kB / 0.59 GB, free: 15.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.7529, allocations: 267.4 kB / 0.5902 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.7529, allocations: 27.2 kB / 0.5903 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.7531, allocations: 161.6 kB / 0.5904 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.7531, allocations: 54.69 kB / 0.5905 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.7532, allocations: 4.688 kB / 0.5905 GB, free: 15.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7533, allocations: 337.8 kB / 0.5908 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.7538, allocations: 114.2 kB / 0.5909 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.7542, allocations: 162 kB / 0.5911 GB, free: 14.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.7547, allocations: 124.1 kB / 0.5912 GB, free: 14.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7547, allocations: 0 / 0.5912 GB, free: 14.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001053/0.7557, allocations: 337.6 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.7558, allocations: 5.906 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7558, allocations: 1.859 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.7558, allocations: 9.094 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7562, allocations: 69.47 kB / 0.5916 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7562, allocations: 4.156 kB / 0.5916 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.7565, allocations: 51.53 kB / 0.5916 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.7565, allocations: 10.73 kB / 0.5916 GB, free: 14.64 MB / 446.1 MB 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.0001866/0.7567, allocations: 135.8 kB / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.7569, allocations: 24.53 kB / 0.5918 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7579, allocations: 336.5 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.758, allocations: 2.906 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.758, allocations: 0.5312 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.758, allocations: 2.172 kB / 0.5921 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.7585, allocations: 298.7 kB / 0.5924 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7585, allocations: 0.7031 kB / 0.5924 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.7589, allocations: 72.61 kB / 0.5925 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.7589, allocations: 1.406 kB / 0.5925 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.7589, allocations: 6.172 kB / 0.5925 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7589, allocations: 1.375 kB / 0.5925 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7589, allocations: 1.375 kB / 0.5925 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.7601, allocations: 495 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.7602, allocations: 109.5 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.7603, allocations: 11.23 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.7606, allocations: 35.84 kB / 0.5931 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.7607, allocations: 20.44 kB / 0.5931 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.7607, allocations: 4.281 kB / 0.5931 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.761, allocations: 191.2 kB / 0.5933 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.761, allocations: 4 kB / 0.5933 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.7615, allocations: 51.48 kB / 0.5934 GB, free: 13.56 MB / 446.1 MB 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.00177/0.7632, allocations: 1.113 MB / 0.5945 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009944/0.7643, allocations: 269.9 kB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7643, allocations: 4.062 kB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.7648, allocations: 142.5 kB / 0.5948 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.7654, allocations: 65.22 kB / 0.5949 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.7674, allocations: 1.674 MB / 0.5965 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.7679, allocations: 0.7579 MB / 0.5973 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.7681, allocations: 26 kB / 0.5973 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.7682, allocations: 85.48 kB / 0.5974 GB, free: 10.26 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7683, allocations: 0 / 0.5974 GB, free: 10.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.7913, allocations: 5.737 MB / 0.603 GB, free: 7.926 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.7917, allocations: 179.3 kB / 0.6032 GB, free: 7.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/3.797, allocations: 0 / 0.6032 GB, free: 7.691 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: