Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.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.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet",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.001223/0.001224, allocations: 99.55 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.001497/0.001497, allocations: 177.3 kB / 15.94 MB, free: 228 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.116/2.116, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9499/0.9499, allocations: 132.3 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.000504, allocations: 11.98 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6922, allocations: 81.57 MB / 0.583 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.09093/0.7832, allocations: 78.76 MB / 0.6599 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04335/0.8267, allocations: 22.01 MB / 0.6814 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0073/0.834, allocations: 107.3 kB / 0.6815 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.007229/0.8413, allocations: 1.454 MB / 0.6829 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01757/0.8589, allocations: 4.08 MB / 0.6869 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.8714, allocations: 3.303 MB / 0.6901 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.8847, allocations: 4.845 MB / 0.6948 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005583/0.8903, allocations: 2.13 MB / 0.6969 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008703/0.8991, allocations: 2.246 MB / 0.6991 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.9043, allocations: 1.509 MB / 0.7006 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.9054, allocations: 116 kB / 0.7007 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008904/0.9143, allocations: 1.689 MB / 0.7023 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002509/0.9169, allocations: 0.7824 MB / 0.7031 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.9202, allocations: 0.7224 MB / 0.7038 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.9341, allocations: 4.314 MB / 0.708 GB, free: 248 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.9342, allocations: 0 / 0.708 GB, free: 248 kB / 0.5294 GB Notification: Performance of FrontEnd: time 5.58e-06/0.9343, allocations: 0 / 0.708 GB, free: 248 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003925/0.9347, allocations: 0 / 0.708 GB, free: 248 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01777/0.9525, allocations: 3.643 MB / 0.7116 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.9526, allocations: 8.031 kB / 0.7116 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001448/0.954, allocations: 257.7 kB / 0.7118 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007047/0.9611, allocations: 0.8149 MB / 0.7126 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.974, allocations: 2.759 MB / 0.7153 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/0.9752, allocations: 283.9 kB / 0.7156 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000788/0.976, allocations: 196 kB / 0.7158 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.9833, allocations: 2.18 MB / 0.7179 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.187e-05/0.9835, allocations: 3.938 kB / 0.7179 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.9838, allocations: 76 kB / 0.718 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/0.9838, allocations: 52 kB / 0.718 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007193/0.991, allocations: 1.821 MB / 0.7198 GB, free: 3.949 MB / 0.545 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.02577/1.017, allocations: 10.01 MB / 0.7296 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/1.022, allocations: 1.239 MB / 0.7308 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/1.032, allocations: 4.238 MB / 0.7349 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.032, allocations: 43.56 kB / 0.735 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001879/1.034, allocations: 142.2 kB / 0.7351 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=99): time 7.324e-06/1.034, allocations: 4 kB / 0.7351 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99): time 0.007398/1.041, allocations: 1.734 MB / 0.7368 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.041, allocations: 145.5 kB / 0.7369 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.052, allocations: 3.892 MB / 0.7407 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005569/1.053, allocations: 57.7 kB / 0.7408 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.056, allocations: 1.557 MB / 0.7423 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000908/1.056, allocations: 351 kB / 0.7427 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.057, allocations: 28 kB / 0.7427 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002437/1.057, allocations: 365.9 kB / 0.743 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/1.06, allocations: 0.6207 MB / 0.7436 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/1.063, allocations: 1.164 MB / 0.7448 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.066, allocations: 0.7402 MB / 0.7455 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/1.066, allocations: 4 kB / 0.7455 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008279/1.074, allocations: 2.078 MB / 0.7475 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.002772/1.077, allocations: 5.975 MB / 0.7534 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/1.077, allocations: 16 kB / 0.7534 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.569e-05/1.077, allocations: 27.98 kB / 0.7534 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/1.08, allocations: 431.3 kB / 0.7538 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.559e-05/1.08, allocations: 27.88 kB / 0.7538 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.085, allocations: 308.8 kB / 0.7541 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004017/1.086, allocations: 87.95 kB / 0.7542 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.086, allocations: 8 kB / 0.7542 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005698/1.091, allocations: 1.636 MB / 0.7558 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/1.091, allocations: 16 kB / 0.7558 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/1.092, allocations: 28.02 kB / 0.7559 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.094, allocations: 399.4 kB / 0.7563 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.351e-05/1.094, allocations: 27.88 kB / 0.7563 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/1.098, allocations: 260.9 kB / 0.7565 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003425/1.099, allocations: 79.97 kB / 0.7566 GB, free: 12.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 2 * 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 0.002477/1.101, allocations: 0.813 MB / 0.7574 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.102, allocations: 343.7 kB / 0.7577 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/1.107, allocations: 2 MB / 0.7597 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.107, allocations: 12 kB / 0.7597 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.108, allocations: 0 / 0.7597 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002755/1.11, allocations: 1.259 MB / 0.7609 GB, free: 8.109 MB / 0.5919 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.01043/1.121, allocations: 4.341 MB / 0.7652 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.121, allocations: 4.062 kB / 0.7652 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.122, allocations: 251.6 kB / 0.7654 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/1.122, allocations: 8 kB / 0.7654 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/1.122, allocations: 39.97 kB / 0.7654 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/1.122, allocations: 11.94 kB / 0.7655 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.122, allocations: 4 kB / 0.7655 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.128, allocations: 2.965 MB / 0.7684 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.13, allocations: 0.6564 MB / 0.769 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009995/1.131, allocations: 28 kB / 0.769 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/1.134, allocations: 203.7 kB / 0.7692 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.134, allocations: 116.7 kB / 0.7693 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.134, allocations: 55.95 kB / 0.7694 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005361/1.14, allocations: 2.75 MB / 0.7721 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/1.14, allocations: 0 / 0.7721 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006455/1.146, allocations: 1.474 MB / 0.7735 GB, free: 10.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis1.y,heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0127/1.159, allocations: 5.267 MB / 0.7787 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009249/1.168, allocations: 2.348 MB / 0.7809 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.168, allocations: 4.312 kB / 0.781 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/1.171, allocations: 0.6937 MB / 0.7816 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01576/1.187, allocations: 1.534 MB / 0.7831 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/1.222, allocations: 18.18 MB / 0.8009 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003825/1.225, allocations: 2.076 MB / 0.8029 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006879/1.232, allocations: 0.7323 MB / 0.8036 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003703/1.236, allocations: 1.421 MB / 0.805 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of SimCode: time 1.453e-06/1.236, allocations: 0 / 0.805 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.085/3.321, allocations: 88.59 MB / 0.8915 GB, free: 149 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/3.321, allocations: 215.1 kB / 0.8917 GB, free: 148.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/9.942, allocations: 7.938 kB / 0.8917 GB, free: 148.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_HeatPump_WaterWaterTSet.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1) Environment - environmentSimulation: