Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_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.0009392/0.000939, allocations: 90.67 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.005921/0.005921, allocations: 170.8 kB / 16.26 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002995, allocations: 8.688 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 81.58 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05258/0.4119, allocations: 59.74 MB / 0.6421 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4264, allocations: 11.9 MB / 0.6537 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.4278, allocations: 51.62 kB / 0.6538 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.4291, allocations: 0.5477 MB / 0.6543 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.4331, allocations: 1.803 MB / 0.656 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.4354, allocations: 1.072 MB / 0.6571 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.4395, allocations: 3.91 MB / 0.6609 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.4408, allocations: 0.9226 MB / 0.6618 GB, free: 160 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.4431, allocations: 1.12 MB / 0.6629 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.4443, allocations: 0.867 MB / 0.6638 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.4444, allocations: 44 kB / 0.6638 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.4468, allocations: 1.333 MB / 0.6651 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.447, allocations: 222.9 kB / 0.6653 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005646/0.4476, allocations: 0.6388 MB / 0.6659 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.45, allocations: 2.208 MB / 0.6681 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.45, allocations: 0 / 0.6681 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.45, allocations: 4 kB / 0.6681 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.45, allocations: 0 / 0.6681 GB, free: 9.695 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.002577/0.4526, allocations: 1.509 MB / 0.6696 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4527, allocations: 8.031 kB / 0.6696 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.4528, allocations: 122.9 kB / 0.6697 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.4553, allocations: 0.522 MB / 0.6702 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.4571, allocations: 1.131 MB / 0.6713 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.4575, allocations: 129.9 kB / 0.6714 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.4576, allocations: 84 kB / 0.6715 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.4597, allocations: 1.033 MB / 0.6725 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4597, allocations: 3.938 kB / 0.6725 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.4598, allocations: 35.94 kB / 0.6726 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4598, allocations: 20 kB / 0.6726 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.4624, allocations: 0.9993 MB / 0.6736 GB, free: 3.949 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.005778/0.4682, allocations: 4.711 MB / 0.6782 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.4723, allocations: 1.129 MB / 0.6793 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.4734, allocations: 441.9 kB / 0.6797 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008727/0.4743, allocations: 1.025 MB / 0.6807 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4743, allocations: 43 kB / 0.6807 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.943e-06/0.4743, allocations: 0 / 0.6807 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007835/0.4821, allocations: 2.15 MB / 0.6828 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4822, allocations: 59.84 kB / 0.6829 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4833, allocations: 0.9474 MB / 0.6838 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.4834, allocations: 37.7 kB / 0.6838 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.4838, allocations: 0.5041 MB / 0.6843 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4839, allocations: 181.3 kB / 0.6845 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.484, allocations: 57.62 kB / 0.6846 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.4841, allocations: 330 kB / 0.6849 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4851, allocations: 376.9 kB / 0.6852 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4863, allocations: 0.5382 MB / 0.6858 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.4883, allocations: 0.8204 MB / 0.6866 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4883, allocations: 0 / 0.6866 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002844/0.4912, allocations: 1.139 MB / 0.6877 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/0.4913, allocations: 170.5 kB / 0.6878 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4913, allocations: 0 / 0.6878 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.4925, allocations: 327.2 kB / 0.6881 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.4931, allocations: 147.8 kB / 0.6883 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.4946, allocations: 0.9347 MB / 0.6892 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.4957, allocations: 179.2 kB / 0.6894 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.4958, allocations: 27.98 kB / 0.6894 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.4958, allocations: 4 kB / 0.6894 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/0.4985, allocations: 1.005 MB / 0.6904 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4985, allocations: 4.312 kB / 0.6904 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4995, allocations: 316.6 kB / 0.6907 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.5002, allocations: 143.8 kB / 0.6908 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.5016, allocations: 0.9419 MB / 0.6917 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5026, allocations: 163.4 kB / 0.6919 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.5027, allocations: 31.97 kB / 0.6919 GB, free: 264 kB / 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 (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.0005354/0.5033, allocations: 353 kB / 0.6923 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5034, allocations: 114.6 kB / 0.6924 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.5065, allocations: 1.232 MB / 0.6936 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5066, allocations: 8 kB / 0.6936 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5066, allocations: 0 / 0.6936 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5066, allocations: 3.984 kB / 0.6936 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/0.5109, allocations: 2.315 MB / 0.6959 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5109, allocations: 4 kB / 0.6959 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.5115, allocations: 120 kB / 0.696 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.5125, allocations: 320.5 kB / 0.6963 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.5126, allocations: 15.98 kB / 0.6963 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.5141, allocations: 0.9643 MB / 0.6972 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5141, allocations: 0 / 0.6972 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.518, allocations: 1.405 MB / 0.6986 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/0.5185, allocations: 291.4 kB / 0.6989 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5187, allocations: 16 kB / 0.6989 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.5197, allocations: 123.8 kB / 0.699 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.5198, allocations: 40.27 kB / 0.6991 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.5198, allocations: 27.97 kB / 0.6991 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000871/0.5207, allocations: 0.6715 MB / 0.6997 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5207, allocations: 3.938 kB / 0.6997 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001391/0.5221, allocations: 0.5652 MB / 0.7003 GB, free: 7.504 MB / 0.5294 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 (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.003826/0.5259, allocations: 2.072 MB / 0.7023 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003775/0.5297, allocations: 1.393 MB / 0.7037 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.5297, allocations: 0 / 0.7037 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.531, allocations: 496.8 kB / 0.7041 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.5337, allocations: 0.4941 MB / 0.7046 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.5508, allocations: 9.165 MB / 0.7136 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.5514, allocations: 1.066 MB / 0.7146 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001056/0.5525, allocations: 231.3 kB / 0.7148 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.553, allocations: 423.3 kB / 0.7152 GB, free: 7.773 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.553, allocations: 3.938 kB / 0.7153 GB, free: 7.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7278/1.281, allocations: 31.59 MB / 0.7461 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/1.281, allocations: 273.7 kB / 0.7464 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.211, allocations: 0 / 0.7464 GB, free: 8.332 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)