Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_dev_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.0008741/0.0008741, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.004868/0.004868, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9203/0.9203, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 82.32 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8156/0.9631, allocations: 294 MB / 0.8752 GB, free: 51.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04809/1.011, allocations: 49.63 MB / 0.9236 GB, free: 50.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008263/1.02, allocations: 260.4 kB / 0.9239 GB, free: 50.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007721/1.027, allocations: 2.781 MB / 0.9266 GB, free: 50.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02089/1.048, allocations: 8.398 MB / 0.9348 GB, free: 50.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01355/1.062, allocations: 5.996 MB / 0.9406 GB, free: 50.31 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02372/1.085, allocations: 24.55 MB / 0.9646 GB, free: 42.92 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006782/1.092, allocations: 4.733 MB / 0.9692 GB, free: 40.17 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/1.103, allocations: 6.194 MB / 0.9753 GB, free: 37.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007175/1.111, allocations: 4.913 MB / 0.9801 GB, free: 35.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/1.112, allocations: 232.7 kB / 0.9803 GB, free: 35.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/1.122, allocations: 3.898 MB / 0.9841 GB, free: 33.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/1.124, allocations: 1.136 MB / 0.9852 GB, free: 32.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005244/1.129, allocations: 3.325 MB / 0.9885 GB, free: 29.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/1.142, allocations: 9.918 MB / 0.9982 GB, free: 19.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.142, allocations: 3.938 kB / 0.9982 GB, free: 19.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/1.142, allocations: 0 / 0.9982 GB, free: 19.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002492/1.142, allocations: 0 / 0.9982 GB, free: 19.98 MB / 0.67 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.008785/1.151, allocations: 6.191 MB / 1.004 GB, free: 13.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.151, allocations: 12.03 kB / 1.004 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008119/1.152, allocations: 0.5396 MB / 1.005 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/1.153, allocations: 0.788 MB / 1.006 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/1.159, allocations: 5.218 MB / 1.011 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.159, allocations: 316.1 kB / 1.011 GB, free: 6.941 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/1.16, allocations: 432 kB / 1.011 GB, free: 6.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/1.165, allocations: 4.391 MB / 1.016 GB, free: 1.855 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.824e-05/1.165, allocations: 11.84 kB / 1.016 GB, free: 1.844 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/1.165, allocations: 178.2 kB / 1.016 GB, free: 1.672 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.292e-05/1.165, allocations: 119.9 kB / 1.016 GB, free: 1.555 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/1.17, allocations: 2.972 MB / 1.019 GB, free: 14.58 MB / 0.6856 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.02231/1.192, allocations: 25.04 MB / 1.043 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/1.195, allocations: 2.766 MB / 1.046 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.196, allocations: 1.001 MB / 1.047 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002656/1.199, allocations: 3.921 MB / 1.051 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.199, allocations: 57.62 kB / 1.051 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 3.577e-06/1.199, allocations: 0 / 1.051 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.009225/1.208, allocations: 4.116 MB / 1.055 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.208, allocations: 73.41 kB / 1.055 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/1.213, allocations: 4.228 MB / 1.059 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/1.213, allocations: 77.7 kB / 1.059 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.215, allocations: 2.804 MB / 1.062 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/1.216, allocations: 0.7594 MB / 1.063 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.216, allocations: 231.5 kB / 1.063 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/1.216, allocations: 313.1 kB / 1.063 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/1.218, allocations: 0.806 MB / 1.064 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/1.22, allocations: 1.83 MB / 1.066 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/1.224, allocations: 2.521 MB / 1.068 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/1.224, allocations: 8 kB / 1.068 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007317/1.231, allocations: 3.571 MB / 1.072 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006256/1.232, allocations: 0.7417 MB / 1.072 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.232, allocations: 24 kB / 1.072 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/1.235, allocations: 0.5916 MB / 1.073 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.236, allocations: 0.5538 MB / 1.074 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/1.238, allocations: 2.684 MB / 1.076 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/1.242, allocations: 0.5968 MB / 1.077 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/1.243, allocations: 140 kB / 1.077 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/1.243, allocations: 7.938 kB / 1.077 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004582/1.247, allocations: 2.825 MB / 1.08 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.247, allocations: 20 kB / 1.08 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/1.248, allocations: 366.4 kB / 1.08 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.25, allocations: 0.5655 MB / 1.081 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/1.258, allocations: 7.72 MB / 1.088 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.262, allocations: 0.5593 MB / 1.089 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/1.263, allocations: 128 kB / 1.089 GB, free: 2.109 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00218/1.265, allocations: 1.008 MB / 1.09 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.266, allocations: 0.5016 MB / 1.09 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006696/1.273, allocations: 3.576 MB / 1.094 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/1.273, allocations: 43.97 kB / 1.094 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.273, allocations: 0 / 1.094 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003891/1.277, allocations: 2.451 MB / 1.096 GB, free: 10.41 MB / 0.7637 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.01562/1.292, allocations: 8.213 MB / 1.104 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.292, allocations: 0 / 1.104 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.294, allocations: 371.6 kB / 1.105 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007366/1.295, allocations: 302.9 kB / 1.105 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.295, allocations: 67.97 kB / 1.105 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/1.296, allocations: 2.498 MB / 1.107 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.296, allocations: 7.984 kB / 1.107 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007328/1.304, allocations: 4.349 MB / 1.112 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/1.306, allocations: 0.9777 MB / 1.113 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.307, allocations: 43.98 kB / 1.113 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0038/1.311, allocations: 431 kB / 1.113 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/1.311, allocations: 153.8 kB / 1.113 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.312, allocations: 107.9 kB / 1.113 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005194/1.317, allocations: 2.789 MB / 1.116 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/1.317, allocations: 8 kB / 1.116 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0109/1.328, allocations: 3.269 MB / 1.119 GB, free: 2.461 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01044/1.338, allocations: 6.152 MB / 1.125 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007531/1.346, allocations: 4.439 MB / 1.129 GB, free: 7.855 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.346, allocations: 4 kB / 1.129 GB, free: 7.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.348, allocations: 1.24 MB / 1.131 GB, free: 6.613 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01556/1.364, allocations: 2.646 MB / 1.133 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3086/1.672, allocations: 44.85 MB / 1.177 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.674, allocations: 2.877 MB / 1.18 GB, free: 325.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003726/1.678, allocations: 1.162 MB / 1.181 GB, free: 324.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.68, allocations: 2.529 MB / 1.183 GB, free: 322.9 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/1.68, allocations: 0 / 1.183 GB, free: 322.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.477/4.156, allocations: 142.5 MB / 1.323 GB, free: 221 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/4.157, allocations: 273.3 kB / 1.323 GB, free: 220.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.203/10.36, allocations: 0 / 1.323 GB, free: 220.6 MB / 0.8106 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)