Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4854/0.4854, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 100.3 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.726e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4689, allocations: 72.3 MB / 0.5603 GB, free: 40.31 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5992, allocations: 103.9 MB / 0.6618 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5995, allocations: 87.89 kB / 0.6619 GB, free: 188 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.6215, allocations: 7.657 MB / 0.6694 GB, free: 8.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6216, allocations: 0 / 0.6694 GB, free: 8.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.6216, allocations: 8 kB / 0.6694 GB, free: 8.52 MB / 490.7 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.0008524/0.6224, allocations: 0.5604 MB / 0.6699 GB, free: 7.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6225, allocations: 11.98 kB / 0.6699 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.6226, allocations: 46.55 kB / 0.67 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.6228, allocations: 35.58 kB / 0.67 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.6233, allocations: 294.7 kB / 0.6703 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.6233, allocations: 8.281 kB / 0.6703 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.6233, allocations: 16 kB / 0.6703 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.6236, allocations: 184.6 kB / 0.6705 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6236, allocations: 3.938 kB / 0.6705 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.6237, allocations: 4 kB / 0.6705 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6237, allocations: 7.953 kB / 0.6705 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.6239, allocations: 104.7 kB / 0.6706 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.6251, allocations: 0.9618 MB / 0.6715 GB, free: 6.105 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.6256, allocations: 193.3 kB / 0.6717 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6257, allocations: 57.81 kB / 0.6718 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.6258, allocations: 8 kB / 0.6718 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.6258, allocations: 38.56 kB / 0.6718 GB, free: 5.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.6258, allocations: 0 / 0.6718 GB, free: 5.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003933/0.6262, allocations: 157.1 kB / 0.672 GB, free: 5.625 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.6263, allocations: 86.33 kB / 0.672 GB, free: 5.523 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.6265, allocations: 239.3 kB / 0.6723 GB, free: 5.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.6265, allocations: 29.7 kB / 0.6723 GB, free: 5.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6266, allocations: 160.2 kB / 0.6725 GB, free: 5.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.6267, allocations: 51.2 kB / 0.6725 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.6267, allocations: 4 kB / 0.6725 GB, free: 5.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6268, allocations: 334.8 kB / 0.6728 GB, free: 4.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.6269, allocations: 47.86 kB / 0.6729 GB, free: 4.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.6271, allocations: 90 kB / 0.673 GB, free: 4.539 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.6272, allocations: 58.27 kB / 0.673 GB, free: 4.484 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6272, allocations: 0 / 0.673 GB, free: 4.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003485/0.6276, allocations: 201.2 kB / 0.6732 GB, free: 4.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6276, allocations: 8.156 kB / 0.6732 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6276, allocations: 7.984 kB / 0.6732 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6276, allocations: 4 kB / 0.6732 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.6279, allocations: 71.89 kB / 0.6733 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6279, allocations: 4 kB / 0.6733 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.6282, allocations: 55.7 kB / 0.6734 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.6282, allocations: 11.95 kB / 0.6734 GB, free: 4.121 MB / 490.7 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 () * 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 7.712e-05/0.6283, allocations: 112.9 kB / 0.6735 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6284, allocations: 23.72 kB / 0.6735 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.6288, allocations: 200.7 kB / 0.6737 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6288, allocations: 4 kB / 0.6737 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6288, allocations: 0 / 0.6737 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6288, allocations: 3.938 kB / 0.6737 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.6292, allocations: 301.9 kB / 0.674 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6292, allocations: 0 / 0.674 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.6295, allocations: 67.94 kB / 0.674 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6295, allocations: 4 kB / 0.674 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6295, allocations: 4 kB / 0.6741 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6295, allocations: 4 kB / 0.6741 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6295, allocations: 0 / 0.6741 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.6299, allocations: 362.5 kB / 0.6744 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.6299, allocations: 108.7 kB / 0.6745 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.63, allocations: 0 / 0.6745 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.6303, allocations: 35.97 kB / 0.6745 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.6303, allocations: 23.97 kB / 0.6746 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.6304, allocations: 4 kB / 0.6746 GB, free: 2.785 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.6305, allocations: 187.1 kB / 0.6747 GB, free: 2.605 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6305, allocations: 0 / 0.6747 GB, free: 2.605 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.6309, allocations: 60.19 kB / 0.6748 GB, free: 2.547 MB / 490.7 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 () * 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.0007741/0.6317, allocations: 0.9856 MB / 0.6758 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.632, allocations: 131.9 kB / 0.6759 GB, free: 1.402 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.632, allocations: 0 / 0.6759 GB, free: 1.402 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.6321, allocations: 74.12 kB / 0.676 GB, free: 1.332 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.6325, allocations: 63.12 kB / 0.676 GB, free: 1.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.6333, allocations: 361.5 kB / 0.6764 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6336, allocations: 0.7558 MB / 0.6771 GB, free: 96 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.6338, allocations: 38.05 kB / 0.6771 GB, free: 60 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.6339, allocations: 87.47 kB / 0.6772 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.634, allocations: 3.938 kB / 0.6772 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.6533, allocations: 5.78 MB / 0.6829 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.6535, allocations: 164 kB / 0.683 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.563, allocations: 3.25 kB / 0.683 GB, free: 10.18 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)