Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",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.0008264/0.0008262, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009573/0.0009573, allocations: 172.7 kB / 15.95 MB, free: 208 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.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7231/0.7231, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003321, allocations: 8 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4441, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6595/1.104, allocations: 277.5 MB / 0.8542 GB, free: 51.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0555/1.159, allocations: 46.96 MB / 0.9 GB, free: 51.13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01176/1.171, allocations: 259.2 kB / 0.9003 GB, free: 51.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008597/1.18, allocations: 2.381 MB / 0.9026 GB, free: 51.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/1.203, allocations: 7.247 MB / 0.9097 GB, free: 50.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01494/1.218, allocations: 4.759 MB / 0.9143 GB, free: 48.67 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0249/1.243, allocations: 21.04 MB / 0.9349 GB, free: 41.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/1.254, allocations: 4.307 MB / 0.9391 GB, free: 37.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01598/1.27, allocations: 5.909 MB / 0.9448 GB, free: 31.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009164/1.279, allocations: 4.612 MB / 0.9493 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002551/1.282, allocations: 231.9 kB / 0.9496 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/1.295, allocations: 2.641 MB / 0.9521 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002814/1.298, allocations: 1.064 MB / 0.9532 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004266/1.302, allocations: 1.373 MB / 0.9545 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/1.315, allocations: 7.437 MB / 0.9618 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.315, allocations: 0 / 0.9618 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.677e-06/1.315, allocations: 0 / 0.9618 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004141/1.315, allocations: 0 / 0.9618 GB, free: 15.41 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01238/1.327, allocations: 6.26 MB / 0.9679 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.328, allocations: 12.03 kB / 0.9679 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001676/1.329, allocations: 0.5392 MB / 0.9684 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/1.332, allocations: 0.7911 MB / 0.9692 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/1.343, allocations: 5.004 MB / 0.9741 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/1.344, allocations: 323.8 kB / 0.9744 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/1.345, allocations: 431.9 kB / 0.9748 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/1.356, allocations: 4.355 MB / 0.9791 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002158/1.356, allocations: 19.78 kB / 0.9791 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000961/1.357, allocations: 180 kB / 0.9793 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/1.357, allocations: 116 kB / 0.9794 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007683/1.365, allocations: 2.941 MB / 0.9822 GB, free: 10.25 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/1.402, allocations: 25.02 MB / 1.007 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/1.406, allocations: 2.755 MB / 1.009 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/1.408, allocations: 0.994 MB / 1.01 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003185/1.411, allocations: 3.925 MB / 1.014 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.792e-05/1.411, allocations: 68.02 kB / 1.014 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 7.013e-06/1.411, allocations: 3.984 kB / 1.014 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.01126/1.422, allocations: 4.053 MB / 1.018 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.422, allocations: 85.39 kB / 1.018 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007868/1.43, allocations: 4.182 MB / 1.022 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004647/1.431, allocations: 81.7 kB / 1.022 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/1.433, allocations: 2.796 MB / 1.025 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.435, allocations: 0.7603 MB / 1.026 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.435, allocations: 52 kB / 1.026 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003246/1.435, allocations: 423.8 kB / 1.026 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.437, allocations: 0.7826 MB / 1.027 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/1.439, allocations: 1.798 MB / 1.029 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/1.441, allocations: 1.078 MB / 1.03 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.441, allocations: 8 kB / 1.03 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008412/1.45, allocations: 3.481 MB / 1.033 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007517/1.451, allocations: 0.7432 MB / 1.034 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/1.451, allocations: 23.95 kB / 1.034 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/1.453, allocations: 0.576 MB / 1.035 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.455, allocations: 0.5538 MB / 1.035 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/1.458, allocations: 2.684 MB / 1.038 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/1.463, allocations: 0.5985 MB / 1.038 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004768/1.463, allocations: 136 kB / 1.039 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.463, allocations: 4 kB / 1.039 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/1.469, allocations: 2.806 MB / 1.041 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/1.469, allocations: 20 kB / 1.041 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009163/1.47, allocations: 366.5 kB / 1.042 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.472, allocations: 0.5577 MB / 1.042 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00866/1.481, allocations: 7.703 MB / 1.05 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/1.485, allocations: 0.5554 MB / 1.05 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004521/1.485, allocations: 136 kB / 1.05 GB, free: 15.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002536/1.488, allocations: 1.002 MB / 1.051 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.489, allocations: 0.5099 MB / 1.052 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/1.496, allocations: 3.573 MB / 1.055 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/1.496, allocations: 35.97 kB / 1.055 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.496, allocations: 0 / 1.055 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/1.5, allocations: 2.426 MB / 1.058 GB, free: 8.316 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.519, allocations: 8.202 MB / 1.066 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.519, allocations: 0 / 1.066 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.521, allocations: 371.6 kB / 1.066 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007798/1.522, allocations: 308.2 kB / 1.066 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/1.522, allocations: 67.97 kB / 1.066 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.524, allocations: 2.492 MB / 1.069 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.524, allocations: 4 kB / 1.069 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007547/1.531, allocations: 4.326 MB / 1.073 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003087/1.534, allocations: 0.974 MB / 1.074 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.536, allocations: 44 kB / 1.074 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004777/1.54, allocations: 434.6 kB / 1.075 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/1.541, allocations: 149.7 kB / 1.075 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003937/1.541, allocations: 115.9 kB / 1.075 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00705/1.548, allocations: 2.746 MB / 1.077 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.81e-07/1.548, allocations: 4 kB / 1.077 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01483/1.563, allocations: 3.253 MB / 1.081 GB, free: 472 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01285/1.576, allocations: 6.046 MB / 1.087 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009302/1.585, allocations: 4.39 MB / 1.091 GB, free: 6.043 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.586, allocations: 4 kB / 1.091 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/1.588, allocations: 1.234 MB / 1.092 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/1.603, allocations: 2.648 MB / 1.095 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4038/2.007, allocations: 35.97 MB / 1.13 GB, free: 300.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/2.009, allocations: 2.875 MB / 1.133 GB, free: 299.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005797/2.015, allocations: 1.166 MB / 1.134 GB, free: 299.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003405/2.019, allocations: 2.529 MB / 1.136 GB, free: 297.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.162e-06/2.019, allocations: 3.969 kB / 1.136 GB, free: 297.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/2.219, allocations: 147.6 MB / 1.28 GB, free: 165.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/2.219, allocations: 242.2 kB / 1.281 GB, free: 165.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.637/7.856, allocations: 0 / 1.281 GB, free: 165.4 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: