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.0007529/0.0007529, allocations: 92 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.0008607/0.0008608, 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9645/0.9645, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 11.94 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5784/0.749, allocations: 277.5 MB / 0.8585 GB, free: 6.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4868/1.236, allocations: 46.93 MB / 0.9043 GB, free: 65.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/1.248, allocations: 260.9 kB / 0.9046 GB, free: 65.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/1.259, allocations: 2.389 MB / 0.9069 GB, free: 65 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0273/1.287, allocations: 7.239 MB / 0.914 GB, free: 64.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01704/1.304, allocations: 4.772 MB / 0.9186 GB, free: 64.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03631/1.34, allocations: 21.05 MB / 0.9392 GB, free: 62.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/1.353, allocations: 4.306 MB / 0.9434 GB, free: 61.93 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01914/1.372, allocations: 5.91 MB / 0.9491 GB, free: 59.92 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/1.385, allocations: 4.615 MB / 0.9537 GB, free: 58.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002875/1.388, allocations: 226.8 kB / 0.9539 GB, free: 58.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01448/1.403, allocations: 2.638 MB / 0.9564 GB, free: 57.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/1.406, allocations: 1.069 MB / 0.9575 GB, free: 56.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005578/1.412, allocations: 1.376 MB / 0.9588 GB, free: 56.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/1.426, allocations: 7.429 MB / 0.9661 GB, free: 52.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.426, allocations: 0 / 0.9661 GB, free: 52.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.836e-06/1.426, allocations: 2.656 kB / 0.9661 GB, free: 52.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00047/1.427, allocations: 0 / 0.9661 GB, free: 52.82 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.01663/1.443, allocations: 6.265 MB / 0.9722 GB, free: 48.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.443, allocations: 15.22 kB / 0.9722 GB, free: 48.91 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002215/1.446, allocations: 0.5383 MB / 0.9727 GB, free: 48.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/1.449, allocations: 0.7867 MB / 0.9735 GB, free: 48.37 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/1.462, allocations: 5.005 MB / 0.9784 GB, free: 46.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/1.463, allocations: 324.1 kB / 0.9787 GB, free: 46.29 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.464, allocations: 428.7 kB / 0.9791 GB, free: 46.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.476, allocations: 4.35 MB / 0.9834 GB, free: 43.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/1.476, allocations: 27.2 kB / 0.9834 GB, free: 43.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009631/1.477, allocations: 172.9 kB / 0.9836 GB, free: 43.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/1.477, allocations: 120.8 kB / 0.9837 GB, free: 43.05 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/1.485, allocations: 2.941 MB / 0.9865 GB, free: 41.12 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.03348/1.518, allocations: 25.02 MB / 1.011 GB, free: 18.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003663/1.522, allocations: 2.745 MB / 1.014 GB, free: 16.06 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/1.524, allocations: 0.9991 MB / 1.015 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/1.527, allocations: 3.924 MB / 1.018 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.792e-05/1.527, allocations: 62.69 kB / 1.019 GB, free: 10.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 6.392e-06/1.527, allocations: 0 / 1.019 GB, free: 10.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.01072/1.538, allocations: 4.073 MB / 1.023 GB, free: 7.324 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.538, allocations: 77.41 kB / 1.023 GB, free: 7.238 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009381/1.547, allocations: 4.186 MB / 1.027 GB, free: 4.203 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006301/1.548, allocations: 80.89 kB / 1.027 GB, free: 4.152 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002305/1.55, allocations: 2.787 MB / 1.029 GB, free: 1.758 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.551, allocations: 0.7642 MB / 1.03 GB, free: 1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/1.552, allocations: 56 kB / 1.03 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.552, allocations: 411.9 kB / 1.031 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.554, allocations: 0.7903 MB / 1.031 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.556, allocations: 1.794 MB / 1.033 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/1.558, allocations: 1.08 MB / 1.034 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.558, allocations: 7.953 kB / 1.034 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008816/1.567, allocations: 3.491 MB / 1.038 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006208/1.568, allocations: 0.7367 MB / 1.038 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/1.568, allocations: 20 kB / 1.038 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/1.57, allocations: 0.5672 MB / 1.039 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.572, allocations: 0.5577 MB / 1.039 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.575, allocations: 2.687 MB / 1.042 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/1.581, allocations: 0.6024 MB / 1.043 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005542/1.581, allocations: 136 kB / 1.043 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.581, allocations: 4 kB / 1.043 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006043/1.587, allocations: 2.802 MB / 1.046 GB, free: 304 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.567e-05/1.587, allocations: 20 kB / 1.046 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.588, allocations: 371.8 kB / 1.046 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.59, allocations: 0.55 MB / 1.046 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008811/1.599, allocations: 7.708 MB / 1.054 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/1.605, allocations: 0.5535 MB / 1.055 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/1.605, allocations: 132 kB / 1.055 GB, free: 6.41 MB / 0.7012 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.003313/1.608, allocations: 1.006 MB / 1.056 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/1.61, allocations: 0.5094 MB / 1.056 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007651/1.618, allocations: 3.569 MB / 1.06 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-05/1.618, allocations: 39.92 kB / 1.06 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.618, allocations: 0 / 1.06 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003905/1.622, allocations: 2.425 MB / 1.062 GB, free: 14.75 MB / 0.7169 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.01764/1.64, allocations: 8.202 MB / 1.07 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.64, allocations: 8 kB / 1.07 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.641, allocations: 371.6 kB / 1.07 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007411/1.642, allocations: 292 kB / 1.071 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/1.642, allocations: 75.94 kB / 1.071 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.644, allocations: 2.495 MB / 1.073 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.644, allocations: 0 / 1.073 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/1.652, allocations: 4.336 MB / 1.077 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/1.656, allocations: 0.9701 MB / 1.078 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/1.657, allocations: 44 kB / 1.078 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004536/1.662, allocations: 431 kB / 1.079 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.662, allocations: 153.7 kB / 1.079 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003312/1.662, allocations: 111.9 kB / 1.079 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0065/1.669, allocations: 2.746 MB / 1.082 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.669, allocations: 4 kB / 1.082 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01527/1.684, allocations: 3.253 MB / 1.085 GB, free: 6.902 MB / 0.7325 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.0116/1.696, allocations: 6.053 MB / 1.091 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008332/1.704, allocations: 4.386 MB / 1.095 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.704, allocations: 1.594 kB / 1.095 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/1.707, allocations: 1.235 MB / 1.096 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/1.722, allocations: 2.65 MB / 1.099 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08152/1.804, allocations: 35.99 MB / 1.134 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/1.808, allocations: 2.873 MB / 1.137 GB, free: 14.79 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007141/1.815, allocations: 1.161 MB / 1.138 GB, free: 13.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004388/1.819, allocations: 2.53 MB / 1.141 GB, free: 11.09 MB / 0.795 GB Notification: Performance of SimCode: time 1.583e-06/1.819, allocations: 0 / 1.141 GB, free: 11.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.631/2.45, allocations: 147.6 MB / 1.285 GB, free: 240.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.45, allocations: 254.3 kB / 1.285 GB, free: 240.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/8.415, allocations: 3.5 kB / 1.285 GB, free: 240.3 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: