Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.0008478/0.000848, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008605/0.0008605, allocations: 168.7 kB / 15.95 MB, free: 204 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.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 13.3 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4819, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05703/0.539, allocations: 56.47 MB / 0.6383 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.554, allocations: 11.2 MB / 0.6492 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.5563, allocations: 51.62 kB / 0.6493 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.5579, allocations: 468.8 kB / 0.6497 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.5628, allocations: 1.519 MB / 0.6512 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.5656, allocations: 0.8625 MB / 0.652 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.5704, allocations: 3.39 MB / 0.6554 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.5725, allocations: 0.7938 MB / 0.6561 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.5756, allocations: 1.042 MB / 0.6571 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.5775, allocations: 0.7972 MB / 0.6579 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.5779, allocations: 43.94 kB / 0.658 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.581, allocations: 1.099 MB / 0.659 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.5815, allocations: 203 kB / 0.6592 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.5822, allocations: 281.1 kB / 0.6595 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5849, allocations: 1.637 MB / 0.6611 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.585, allocations: 0 / 0.6611 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.585, allocations: 0 / 0.6611 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.143e-05/0.5851, allocations: 4 kB / 0.6611 GB, free: 0.5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003662/0.5887, allocations: 1.493 MB / 0.6626 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5888, allocations: 8.031 kB / 0.6626 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.589, allocations: 126.7 kB / 0.6627 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.5911, allocations: 477.9 kB / 0.6631 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.5936, allocations: 1.086 MB / 0.6642 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.5939, allocations: 125.9 kB / 0.6643 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.5941, allocations: 80 kB / 0.6644 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.5961, allocations: 0.9973 MB / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5961, allocations: 8 kB / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5962, allocations: 36 kB / 0.6654 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.5962, allocations: 16 kB / 0.6654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.5985, allocations: 0.9055 MB / 0.6663 GB, free: 10.99 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.007032/0.6056, allocations: 4.885 MB / 0.6711 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.6087, allocations: 0.8995 MB / 0.672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.6094, allocations: 320.7 kB / 0.6723 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.61, allocations: 0.9064 MB / 0.6732 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6101, allocations: 42.56 kB / 0.6732 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/0.6101, allocations: 0 / 0.6732 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006446/0.6165, allocations: 1.931 MB / 0.6751 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6166, allocations: 59.41 kB / 0.6751 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.6183, allocations: 1.051 MB / 0.6762 GB, free: 268 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.6184, allocations: 33.7 kB / 0.6762 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.6188, allocations: 0.5235 MB / 0.6767 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.619, allocations: 153.7 kB / 0.6769 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.6191, allocations: 12 kB / 0.6769 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6192, allocations: 329.9 kB / 0.6772 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/0.62, allocations: 320.9 kB / 0.6775 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6211, allocations: 0.518 MB / 0.678 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.6219, allocations: 357.9 kB / 0.6783 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.6219, allocations: 7.953 kB / 0.6783 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00357/0.6255, allocations: 1.212 MB / 0.6795 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.6257, allocations: 217.3 kB / 0.6797 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6258, allocations: 4 kB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.627, allocations: 332.7 kB / 0.6801 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.6275, allocations: 131.8 kB / 0.6802 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.629, allocations: 0.9458 MB / 0.6811 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.6303, allocations: 191.3 kB / 0.6813 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.6304, allocations: 27.98 kB / 0.6813 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6304, allocations: 6.344 kB / 0.6813 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/0.6334, allocations: 1.067 MB / 0.6824 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6335, allocations: 4 kB / 0.6824 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.6345, allocations: 324.7 kB / 0.6827 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.635, allocations: 131.8 kB / 0.6828 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.6364, allocations: 0.9347 MB / 0.6837 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.6376, allocations: 171.3 kB / 0.6839 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.6377, allocations: 31.98 kB / 0.6839 GB, free: 8.105 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0006958/0.6384, allocations: 345 kB / 0.6842 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.6387, allocations: 110.6 kB / 0.6843 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.6412, allocations: 0.9837 MB / 0.6853 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.6412, allocations: 11.94 kB / 0.6853 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6413, allocations: 3.953 kB / 0.6853 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.6413, allocations: 3.984 kB / 0.6853 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.6465, allocations: 2.249 MB / 0.6875 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.6466, allocations: 8.281 kB / 0.6875 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.6469, allocations: 71.89 kB / 0.6876 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009591/0.6478, allocations: 316.6 kB / 0.6879 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.6479, allocations: 12 kB / 0.6879 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.6493, allocations: 0.9776 MB / 0.6889 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6493, allocations: 7.969 kB / 0.6889 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.6526, allocations: 1.256 MB / 0.6901 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.6532, allocations: 279.4 kB / 0.6904 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6534, allocations: 8 kB / 0.6904 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.6544, allocations: 111.9 kB / 0.6905 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.6545, allocations: 39.89 kB / 0.6905 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.6545, allocations: 23.98 kB / 0.6905 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001469/0.656, allocations: 0.7391 MB / 0.6913 GB, free: 372 kB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/0.656, allocations: 4 kB / 0.6913 GB, free: 368 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002089/0.6581, allocations: 0.5535 MB / 0.6918 GB, free: 15.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004618/0.6627, allocations: 2.035 MB / 0.6938 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.6658, allocations: 1.167 MB / 0.6949 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6659, allocations: 0 / 0.6949 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.6667, allocations: 364.5 kB / 0.6953 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.6693, allocations: 0.5004 MB / 0.6958 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.6853, allocations: 6.863 MB / 0.7025 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.6862, allocations: 1.069 MB / 0.7035 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00111/0.6873, allocations: 220.4 kB / 0.7037 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.6879, allocations: 411.3 kB / 0.7041 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.6879, allocations: 0 / 0.7041 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.7531, allocations: 33.13 MB / 0.7365 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.7534, allocations: 236.5 kB / 0.7367 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.293, allocations: 0 / 0.7367 GB, free: 1.945 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: