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.001488/0.001488, allocations: 99.86 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.001894/0.001894, allocations: 177.3 kB / 15.95 MB, free: 216 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.483/2.483, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.7/1.7, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005612, allocations: 15.98 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3071, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.084/1.391, allocations: 250.9 MB / 0.8323 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.9746/2.366, allocations: 42.99 MB / 0.8743 GB, free: 61.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0217/2.387, allocations: 247.9 kB / 0.8745 GB, free: 61.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.02082/2.408, allocations: 2.977 MB / 0.8774 GB, free: 61.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06522/2.474, allocations: 9.191 MB / 0.8864 GB, free: 60.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.03311/2.507, allocations: 5.96 MB / 0.8922 GB, free: 60.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03743/2.544, allocations: 10.82 MB / 0.9028 GB, free: 60.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/2.568, allocations: 4.338 MB / 0.907 GB, free: 60.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03115/2.599, allocations: 5.415 MB / 0.9123 GB, free: 60.3 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01913/2.618, allocations: 3.214 MB / 0.9154 GB, free: 60.28 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004627/2.623, allocations: 232.7 kB / 0.9157 GB, free: 60.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02914/2.652, allocations: 2.792 MB / 0.9184 GB, free: 60.28 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005775/2.658, allocations: 1.03 MB / 0.9194 GB, free: 60.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008731/2.667, allocations: 1.377 MB / 0.9207 GB, free: 60.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02961/2.696, allocations: 7.31 MB / 0.9279 GB, free: 59.65 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/2.696, allocations: 2.406 kB / 0.9279 GB, free: 59.65 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.029e-06/2.696, allocations: 0.7812 kB / 0.9279 GB, free: 59.65 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005875/2.697, allocations: 0 / 0.9279 GB, free: 59.65 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.03246/2.729, allocations: 6.239 MB / 0.934 GB, free: 56.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 8.074e-05/2.73, allocations: 11.8 kB / 0.934 GB, free: 56.08 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003484/2.733, allocations: 0.5404 MB / 0.9345 GB, free: 55.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00649/2.74, allocations: 0.7838 MB / 0.9353 GB, free: 55.55 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/2.759, allocations: 4.696 MB / 0.9399 GB, free: 53.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000579/2.759, allocations: 323.1 kB / 0.9402 GB, free: 53.65 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/2.761, allocations: 433 kB / 0.9406 GB, free: 53.64 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/2.777, allocations: 4.319 MB / 0.9448 GB, free: 52.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/2.778, allocations: 14.19 kB / 0.9448 GB, free: 52.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/2.779, allocations: 177.9 kB / 0.945 GB, free: 52.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/2.779, allocations: 117.8 kB / 0.9451 GB, free: 52.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/2.791, allocations: 2.94 MB / 0.948 GB, free: 51.73 MB / 0.67 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.05089/2.842, allocations: 25.18 MB / 0.9726 GB, free: 32.83 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/2.847, allocations: 2.753 MB / 0.9752 GB, free: 31.47 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003314/2.851, allocations: 3.913 MB / 0.9791 GB, free: 26.97 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/2.851, allocations: 66.53 kB / 0.9791 GB, free: 26.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 7.084e-06/2.851, allocations: 0 / 0.9791 GB, free: 26.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.0207/2.871, allocations: 4.06 MB / 0.9831 GB, free: 25.53 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/2.872, allocations: 78.75 kB / 0.9832 GB, free: 25.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/2.886, allocations: 4.394 MB / 0.9875 GB, free: 23.94 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009897/2.887, allocations: 83.27 kB / 0.9875 GB, free: 23.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.004064/2.891, allocations: 2.776 MB / 0.9902 GB, free: 22.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/2.893, allocations: 0.7694 MB / 0.991 GB, free: 21.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/2.894, allocations: 63.06 kB / 0.9911 GB, free: 21.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0004211/2.894, allocations: 408.3 kB / 0.9914 GB, free: 21.37 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00294/2.897, allocations: 0.7856 MB / 0.9922 GB, free: 20.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/2.901, allocations: 1.783 MB / 0.994 GB, free: 19.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/2.905, allocations: 1.077 MB / 0.995 GB, free: 18.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-05/2.905, allocations: 4 kB / 0.995 GB, free: 18.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01514/2.92, allocations: 3.497 MB / 0.9984 GB, free: 15.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.003664/2.924, allocations: 10.32 MB / 1.009 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.794e-05/2.924, allocations: 20 kB / 1.009 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/2.929, allocations: 0.576 MB / 1.009 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/2.933, allocations: 0.5538 MB / 1.01 GB, free: 3.902 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/2.936, allocations: 2.685 MB / 1.012 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.947, allocations: 0.6119 MB / 1.013 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009922/2.948, allocations: 138.6 kB / 1.013 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/2.948, allocations: 6.188 kB / 1.013 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01176/2.96, allocations: 2.798 MB / 1.016 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/2.96, allocations: 20.94 kB / 1.016 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/2.962, allocations: 379.7 kB / 1.016 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/2.966, allocations: 0.5565 MB / 1.017 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/2.984, allocations: 7.786 MB / 1.024 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.996, allocations: 0.573 MB / 1.025 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/2.997, allocations: 139.3 kB / 1.025 GB, free: 6.145 MB / 0.6856 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.006794/3.004, allocations: 0.9979 MB / 1.026 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004324/3.008, allocations: 0.5055 MB / 1.026 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/3.025, allocations: 3.576 MB / 1.03 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001307/3.025, allocations: 38.66 kB / 1.03 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/3.025, allocations: 4 kB / 1.03 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009069/3.034, allocations: 2.431 MB / 1.032 GB, free: 0.8008 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 postOpt removeSimpleEquations (simulation): time 0.03725/3.071, allocations: 8.28 MB / 1.04 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/3.071, allocations: 0 / 1.04 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/3.074, allocations: 370.9 kB / 1.041 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/3.076, allocations: 307.2 kB / 1.041 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006939/3.077, allocations: 65.66 kB / 1.041 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/3.08, allocations: 2.494 MB / 1.044 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/3.08, allocations: 4 kB / 1.044 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/3.096, allocations: 4.419 MB / 1.048 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0075/3.103, allocations: 1.028 MB / 1.049 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002916/3.106, allocations: 47.09 kB / 1.049 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009699/3.116, allocations: 430.9 kB / 1.049 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009364/3.117, allocations: 146.4 kB / 1.049 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000757/3.118, allocations: 118.2 kB / 1.05 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.01437/3.132, allocations: 2.917 MB / 1.052 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.925e-06/3.132, allocations: 0 / 1.052 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.02968/3.162, allocations: 3.323 MB / 1.056 GB, free: 14.11 MB / 0.7169 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.02466/3.187, allocations: 6.41 MB / 1.062 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01752/3.204, allocations: 4.403 MB / 1.066 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/3.204, allocations: 0 / 1.066 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004217/3.209, allocations: 1.227 MB / 1.067 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02688/3.235, allocations: 2.607 MB / 1.07 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06272/3.298, allocations: 29.36 MB / 1.099 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007848/3.306, allocations: 2.988 MB / 1.102 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.012/3.318, allocations: 1.168 MB / 1.103 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008317/3.327, allocations: 2.535 MB / 1.105 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of SimCode: time 2.224e-06/3.327, allocations: 0 / 1.105 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/4.553, allocations: 148 MB / 1.25 GB, free: 126.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/4.553, allocations: 248.1 kB / 1.25 GB, free: 126.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/14.59, allocations: 0 / 1.25 GB, free: 126.4 MB / 0.795 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/linux/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) Environment - environmentSimulation: