Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0007948/0.0007947, allocations: 92.31 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.0008047/0.0008047, 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.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 15.92 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1928, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3759/0.5687, allocations: 56.48 MB / 0.6426 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.5822, allocations: 11.21 MB / 0.6536 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.5846, allocations: 55.91 kB / 0.6536 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.5862, allocations: 457.5 kB / 0.6541 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.591, allocations: 1.528 MB / 0.6555 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.5938, allocations: 0.8581 MB / 0.6564 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.5979, allocations: 3.396 MB / 0.6597 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.5994, allocations: 0.8072 MB / 0.6605 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.6017, allocations: 1.045 MB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.6031, allocations: 0.8117 MB / 0.6623 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.6033, allocations: 43.75 kB / 0.6623 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.6059, allocations: 1.097 MB / 0.6634 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.6062, allocations: 211.7 kB / 0.6636 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.6067, allocations: 282.7 kB / 0.6639 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.6096, allocations: 1.646 MB / 0.6655 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6096, allocations: 4.625 kB / 0.6655 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6096, allocations: 3.938 kB / 0.6655 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.6096, allocations: 0 / 0.6655 GB, free: 6.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003342/0.613, allocations: 1.521 MB / 0.667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.613, allocations: 9.328 kB / 0.667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.6132, allocations: 126.4 kB / 0.6671 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.6159, allocations: 0.5103 MB / 0.6676 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.6189, allocations: 1.095 MB / 0.6687 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/0.6193, allocations: 137 kB / 0.6688 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.6195, allocations: 79.59 kB / 0.6689 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.6223, allocations: 1.027 MB / 0.6699 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.6224, allocations: 1.031 kB / 0.6699 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.6225, allocations: 30.34 kB / 0.6699 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.6225, allocations: 23.16 kB / 0.6699 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.6254, allocations: 0.9938 MB / 0.6709 GB, free: 4.203 MB / 0.4981 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.00741/0.6328, allocations: 4.692 MB / 0.6755 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.6367, allocations: 1.132 MB / 0.6766 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6378, allocations: 446.2 kB / 0.677 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.6389, allocations: 1.034 MB / 0.678 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6389, allocations: 38.33 kB / 0.6781 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.6389, allocations: 0 / 0.6781 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00801/0.6469, allocations: 2.141 MB / 0.6802 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.647, allocations: 62.05 kB / 0.6802 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.6487, allocations: 0.9305 MB / 0.6811 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-05/0.6488, allocations: 37.95 kB / 0.6812 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004997/0.6493, allocations: 0.5073 MB / 0.6817 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6495, allocations: 183.6 kB / 0.6818 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.6496, allocations: 9.812 kB / 0.6819 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6497, allocations: 330.8 kB / 0.6822 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6508, allocations: 377 kB / 0.6825 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.652, allocations: 0.5331 MB / 0.683 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.653, allocations: 407.3 kB / 0.6834 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.653, allocations: 0 / 0.6834 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003876/0.6569, allocations: 1.296 MB / 0.6847 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.6571, allocations: 160 kB / 0.6849 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6571, allocations: 6.25 kB / 0.6849 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.6584, allocations: 325.6 kB / 0.6852 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.659, allocations: 146.1 kB / 0.6853 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.6606, allocations: 0.9323 MB / 0.6862 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.6619, allocations: 176.4 kB / 0.6864 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.662, allocations: 28.58 kB / 0.6864 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.662, allocations: 4.219 kB / 0.6864 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003435/0.6655, allocations: 1.151 MB / 0.6875 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6655, allocations: 2.906 kB / 0.6875 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.6665, allocations: 317 kB / 0.6878 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.6672, allocations: 146.4 kB / 0.688 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.6686, allocations: 0.9309 MB / 0.6889 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.67, allocations: 173.5 kB / 0.6891 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.6701, allocations: 31.75 kB / 0.6891 GB, free: 10.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007521/0.6708, allocations: 352.7 kB / 0.6894 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.6711, allocations: 106.3 kB / 0.6895 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.6743, allocations: 1.227 MB / 0.6907 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.6743, allocations: 5.688 kB / 0.6907 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6743, allocations: 0 / 0.6907 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6744, allocations: 3.781 kB / 0.6907 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.6793, allocations: 2.31 MB / 0.693 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6794, allocations: 10.25 kB / 0.693 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.6799, allocations: 115.2 kB / 0.6931 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.6811, allocations: 325.2 kB / 0.6934 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.6811, allocations: 17.06 kB / 0.6934 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.6828, allocations: 0.9702 MB / 0.6944 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6828, allocations: 9.062 kB / 0.6944 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.6867, allocations: 1.398 MB / 0.6958 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.6872, allocations: 296.6 kB / 0.696 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6874, allocations: 8.906 kB / 0.6961 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.6883, allocations: 127.9 kB / 0.6962 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6884, allocations: 42.31 kB / 0.6962 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.6885, allocations: 25.5 kB / 0.6962 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001187/0.6897, allocations: 0.6556 MB / 0.6969 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6897, allocations: 0 / 0.6969 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00181/0.6915, allocations: 0.5623 MB / 0.6974 GB, free: 6.195 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004141/0.6957, allocations: 2.049 MB / 0.6994 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003652/0.6994, allocations: 1.391 MB / 0.7008 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6994, allocations: 2.188 kB / 0.7008 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7006, allocations: 484.4 kB / 0.7013 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/0.7032, allocations: 0.5061 MB / 0.7017 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.7182, allocations: 6.759 MB / 0.7083 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.719, allocations: 1.066 MB / 0.7094 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001435/0.7204, allocations: 235.6 kB / 0.7096 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.7211, allocations: 411.3 kB / 0.71 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/0.7211, allocations: 0 / 0.71 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/0.7812, allocations: 33.16 MB / 0.7424 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.7815, allocations: 254 kB / 0.7426 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.451, allocations: 0 / 0.7426 GB, free: 12.76 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: