Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",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.0008959/0.0008958, allocations: 90.36 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.005192/0.005192, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.267/1.267, 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.9363/0.9363, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 12.58 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3138/0.4495, allocations: 73.4 MB / 0.6598 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.4652, allocations: 12.64 MB / 0.6721 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.4674, allocations: 57.09 kB / 0.6722 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.4692, allocations: 0.678 MB / 0.6728 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.4749, allocations: 2.27 MB / 0.675 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/0.478, allocations: 1.268 MB / 0.6763 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007117/0.4852, allocations: 5.533 MB / 0.6817 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.487, allocations: 1.151 MB / 0.6828 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.4898, allocations: 1.317 MB / 0.6841 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.4914, allocations: 1.137 MB / 0.6852 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.4916, allocations: 55.31 kB / 0.6853 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.4944, allocations: 1.258 MB / 0.6865 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.4947, allocations: 289.6 kB / 0.6868 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008381/0.4956, allocations: 0.7984 MB / 0.6875 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.4991, allocations: 2.731 MB / 0.6902 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4991, allocations: 0 / 0.6902 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4991, allocations: 1.406 kB / 0.6902 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.4991, allocations: 0 / 0.6902 GB, free: 5.977 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003394/0.5025, allocations: 1.786 MB / 0.692 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5026, allocations: 10.31 kB / 0.692 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00019/0.5028, allocations: 146.9 kB / 0.6921 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.5035, allocations: 243.5 kB / 0.6923 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.5059, allocations: 1.507 MB / 0.6938 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.506, allocations: 77.25 kB / 0.6939 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.5062, allocations: 100.3 kB / 0.694 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.5083, allocations: 1.118 MB / 0.6951 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5084, allocations: 1.5 kB / 0.6951 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.5085, allocations: 41.61 kB / 0.6951 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.5085, allocations: 25 kB / 0.6951 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.5106, allocations: 0.929 MB / 0.696 GB, free: 2.781 MB / 0.5137 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.00581/0.5164, allocations: 4.92 MB / 0.7008 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.5178, allocations: 0.6577 MB / 0.7015 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/0.5185, allocations: 373.3 kB / 0.7018 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.5192, allocations: 0.8264 MB / 0.7027 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.5192, allocations: 47.5 kB / 0.7027 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.927e-06/0.5192, allocations: 0 / 0.7027 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007406/0.5266, allocations: 1.896 MB / 0.7045 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5267, allocations: 61.59 kB / 0.7046 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.5282, allocations: 1.205 MB / 0.7058 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.5283, allocations: 39.2 kB / 0.7058 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.5288, allocations: 0.6054 MB / 0.7064 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.529, allocations: 218.3 kB / 0.7066 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.5291, allocations: 60.28 kB / 0.7067 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5292, allocations: 335.9 kB / 0.707 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.5299, allocations: 304.5 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.5308, allocations: 0.5014 MB / 0.7078 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5323, allocations: 0.7466 MB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.5323, allocations: 1.156 kB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004824/0.5371, allocations: 1.414 MB / 0.7099 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.5372, allocations: 191.1 kB / 0.7101 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5372, allocations: 3.281 kB / 0.7101 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/0.5379, allocations: 173.2 kB / 0.7102 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.5386, allocations: 162.7 kB / 0.7104 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008586/0.5394, allocations: 0.7369 MB / 0.7111 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.5406, allocations: 166.2 kB / 0.7113 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.5407, allocations: 31.16 kB / 0.7113 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.5407, allocations: 4.188 kB / 0.7113 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004565/0.5452, allocations: 1.272 MB / 0.7125 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5453, allocations: 2.562 kB / 0.7126 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.5459, allocations: 170 kB / 0.7127 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.5465, allocations: 166.4 kB / 0.7129 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008063/0.5473, allocations: 0.7327 MB / 0.7136 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.5483, allocations: 157.3 kB / 0.7137 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.5484, allocations: 31.36 kB / 0.7138 GB, free: 7.742 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005741/0.5489, allocations: 414.3 kB / 0.7142 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5491, allocations: 135 kB / 0.7143 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.5541, allocations: 1.419 MB / 0.7157 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.5542, allocations: 7.062 kB / 0.7157 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5542, allocations: 0 / 0.7157 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004426/0.5586, allocations: 1.246 MB / 0.7169 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006482/0.5651, allocations: 2.752 MB / 0.7196 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5651, allocations: 7.891 kB / 0.7196 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.5656, allocations: 117.4 kB / 0.7197 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006065/0.5662, allocations: 167 kB / 0.7199 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.5662, allocations: 20.81 kB / 0.7199 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007948/0.567, allocations: 0.7144 MB / 0.7206 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5671, allocations: 7.938 kB / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.5726, allocations: 1.856 MB / 0.7224 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.5731, allocations: 339.1 kB / 0.7227 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.5733, allocations: 20 kB / 0.7227 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.5743, allocations: 103.1 kB / 0.7228 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5744, allocations: 48.31 kB / 0.7229 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5744, allocations: 35.97 kB / 0.7229 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001189/0.5756, allocations: 0.866 MB / 0.7238 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5756, allocations: 7.938 kB / 0.7238 GB, free: 15.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001908/0.5776, allocations: 0.7018 MB / 0.7245 GB, free: 15.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006832/0.5844, allocations: 2.742 MB / 0.7271 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002685/0.5871, allocations: 1.177 MB / 0.7283 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5871, allocations: 3.938 kB / 0.7283 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.588, allocations: 409 kB / 0.7287 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/0.5924, allocations: 0.7913 MB / 0.7295 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/0.6171, allocations: 11.21 MB / 0.7404 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.6178, allocations: 1.176 MB / 0.7416 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001256/0.6191, allocations: 314.1 kB / 0.7419 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.6197, allocations: 0.5188 MB / 0.7424 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.6198, allocations: 4 kB / 0.7424 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6273/1.247, allocations: 42.24 MB / 0.7836 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/1.247, allocations: 261.5 kB / 0.7839 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/4.092, allocations: 0 / 0.7839 GB, free: 2.266 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)