Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 60.27 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.2668/0.3984, allocations: 61.13 MB / 0.6442 GB, free: 17.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.4121, allocations: 11.98 MB / 0.6559 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.4138, allocations: 56.25 kB / 0.6559 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.4152, allocations: 0.6835 MB / 0.6566 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.4189, allocations: 1.961 MB / 0.6585 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.4211, allocations: 1.192 MB / 0.6597 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.4238, allocations: 3.072 MB / 0.6627 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.425, allocations: 1.095 MB / 0.6637 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.4274, allocations: 1.326 MB / 0.665 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.4284, allocations: 0.8978 MB / 0.6659 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.4286, allocations: 115 kB / 0.666 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.4312, allocations: 1.446 MB / 0.6674 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.4315, allocations: 289.1 kB / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.4322, allocations: 0.694 MB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.4352, allocations: 2.285 MB / 0.6706 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.4353, allocations: 0 / 0.6706 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4353, allocations: 0 / 0.6706 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.4353, allocations: 5.188 kB / 0.6706 GB, free: 1.043 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002891/0.4382, allocations: 1.72 MB / 0.6723 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4382, allocations: 8.875 kB / 0.6723 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.4384, allocations: 122.4 kB / 0.6724 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.4407, allocations: 410.8 kB / 0.6728 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.443, allocations: 1.109 MB / 0.6739 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.4434, allocations: 123.5 kB / 0.674 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4435, allocations: 82 kB / 0.6741 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.4456, allocations: 0.9989 MB / 0.6751 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4456, allocations: 5.125 kB / 0.6751 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.4457, allocations: 32.83 kB / 0.6751 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4457, allocations: 19.84 kB / 0.6751 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.448, allocations: 0.8557 MB / 0.676 GB, free: 14.12 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.006591/0.4546, allocations: 5.243 MB / 0.6811 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.4581, allocations: 0.7997 MB / 0.6819 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.4589, allocations: 296.8 kB / 0.6821 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.4596, allocations: 0.9045 MB / 0.683 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4597, allocations: 41.75 kB / 0.6831 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/0.4597, allocations: 4 kB / 0.6831 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007639/0.4673, allocations: 1.757 MB / 0.6848 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4674, allocations: 56.31 kB / 0.6848 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.4691, allocations: 1.084 MB / 0.6859 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.4692, allocations: 33.73 kB / 0.6859 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.4697, allocations: 0.5301 MB / 0.6864 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4698, allocations: 151.8 kB / 0.6866 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.4701, allocations: 146.8 kB / 0.6867 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4702, allocations: 325.8 kB / 0.687 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009109/0.4711, allocations: 311.1 kB / 0.6873 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.4723, allocations: 0.526 MB / 0.6879 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.4741, allocations: 0.7295 MB / 0.6886 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4741, allocations: 1.406 kB / 0.6886 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002973/0.4771, allocations: 1.022 MB / 0.6896 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4771, allocations: 14.41 kB / 0.6896 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.4771, allocations: 14.44 kB / 0.6896 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.4785, allocations: 318 kB / 0.6899 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.4791, allocations: 127.7 kB / 0.69 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.4806, allocations: 0.9168 MB / 0.6909 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.482, allocations: 152.9 kB / 0.6911 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.4821, allocations: 31.73 kB / 0.6911 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001317/0.4834, allocations: 0.5137 MB / 0.6916 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.4846, allocations: 0.5317 MB / 0.6921 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001727/0.4863, allocations: 0.704 MB / 0.6928 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/0.4863, allocations: 4.922 kB / 0.6928 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00284/0.4892, allocations: 1.02 MB / 0.6938 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4892, allocations: 7.344 kB / 0.6938 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4892, allocations: 6 kB / 0.6938 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.4903, allocations: 313 kB / 0.6941 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.4909, allocations: 127.2 kB / 0.6942 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4923, allocations: 0.9079 MB / 0.6951 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4936, allocations: 143.4 kB / 0.6953 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.4937, allocations: 31.16 kB / 0.6953 GB, free: 2.422 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.4939, allocations: 224.8 kB / 0.6955 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4941, allocations: 112.5 kB / 0.6956 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.4966, allocations: 0.9271 MB / 0.6965 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.4966, allocations: 6.984 kB / 0.6965 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4966, allocations: 4 kB / 0.6965 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4966, allocations: 3.438 kB / 0.6965 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.5018, allocations: 2.15 MB / 0.6986 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5018, allocations: 6.281 kB / 0.6986 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.5021, allocations: 64.28 kB / 0.6987 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.5031, allocations: 303.8 kB / 0.699 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.5032, allocations: 12.88 kB / 0.699 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.5046, allocations: 0.9518 MB / 0.6999 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5047, allocations: 2.969 kB / 0.6999 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.5084, allocations: 1.162 MB / 0.7011 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.5088, allocations: 266.9 kB / 0.7013 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.509, allocations: 13 kB / 0.7013 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5099, allocations: 71.84 kB / 0.7014 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.5099, allocations: 43.73 kB / 0.7014 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.51, allocations: 26.86 kB / 0.7015 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001183/0.5112, allocations: 0.748 MB / 0.7022 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5112, allocations: 0 / 0.7022 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001665/0.5129, allocations: 0.5647 MB / 0.7027 GB, free: 14.65 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004754/0.5176, allocations: 1.982 MB / 0.7047 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.5212, allocations: 1.155 MB / 0.7058 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5212, allocations: 0 / 0.7058 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.5221, allocations: 349 kB / 0.7061 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.5246, allocations: 0.5168 MB / 0.7066 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.5423, allocations: 8.912 MB / 0.7153 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.5431, allocations: 1.065 MB / 0.7164 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001212/0.5443, allocations: 228.7 kB / 0.7166 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.5449, allocations: 411.3 kB / 0.717 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.5449, allocations: 0 / 0.717 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/0.61, allocations: 33.27 MB / 0.7495 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.33, allocations: 17.22 kB / 0.7495 GB, free: 2.621 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)