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.0009751/0.0009752, 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.007399/0.007399, allocations: 172 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.3 MB / 426.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 8 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 82.31 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2565/0.3836, allocations: 59.71 MB / 0.6464 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.394, allocations: 11.91 MB / 0.658 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.3949, allocations: 55.19 kB / 0.6581 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.3959, allocations: 0.5502 MB / 0.6586 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002692/0.3986, allocations: 1.798 MB / 0.6604 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.4003, allocations: 1.08 MB / 0.6614 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.4028, allocations: 3.902 MB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009698/0.4037, allocations: 0.917 MB / 0.6661 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4052, allocations: 1.128 MB / 0.6672 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.406, allocations: 0.8615 MB / 0.6681 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4061, allocations: 43.06 kB / 0.6681 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.4079, allocations: 1.339 MB / 0.6694 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.4081, allocations: 216.4 kB / 0.6696 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004911/0.4086, allocations: 0.6361 MB / 0.6702 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.4108, allocations: 2.216 MB / 0.6724 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4108, allocations: 0 / 0.6724 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4108, allocations: 1.375 kB / 0.6724 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.4108, allocations: 0 / 0.6724 GB, free: 2.086 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.002182/0.413, allocations: 1.509 MB / 0.6739 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.413, allocations: 8.75 kB / 0.6739 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.4132, allocations: 122.4 kB / 0.674 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.4155, allocations: 0.5188 MB / 0.6745 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4171, allocations: 1.135 MB / 0.6756 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.4175, allocations: 131.8 kB / 0.6757 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4176, allocations: 83.91 kB / 0.6758 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.4196, allocations: 1.033 MB / 0.6768 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4197, allocations: 1.469 kB / 0.6768 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.4197, allocations: 34.66 kB / 0.6769 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4198, allocations: 19.47 kB / 0.6769 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.4222, allocations: 1.003 MB / 0.6779 GB, free: 15.31 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.005341/0.4276, allocations: 4.699 MB / 0.6825 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.4316, allocations: 1.128 MB / 0.6836 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.4327, allocations: 444.6 kB / 0.684 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008373/0.4336, allocations: 1.03 MB / 0.685 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4336, allocations: 37.94 kB / 0.685 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.4336, allocations: 0 / 0.685 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007577/0.4412, allocations: 2.154 MB / 0.6871 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4412, allocations: 62.73 kB / 0.6872 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4424, allocations: 0.9385 MB / 0.6881 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/0.4424, allocations: 37.67 kB / 0.6881 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.4428, allocations: 0.5033 MB / 0.6886 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.443, allocations: 183.4 kB / 0.6888 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.443, allocations: 57.62 kB / 0.6889 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.4431, allocations: 326.7 kB / 0.6892 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4442, allocations: 376.8 kB / 0.6895 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.4453, allocations: 0.5439 MB / 0.6901 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.4473, allocations: 0.8178 MB / 0.6909 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4473, allocations: 0.9688 kB / 0.6909 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00276/0.4501, allocations: 1.139 MB / 0.692 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.822e-05/0.4502, allocations: 167.2 kB / 0.6921 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4502, allocations: 1.969 kB / 0.6921 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.4513, allocations: 331 kB / 0.6924 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.452, allocations: 141.6 kB / 0.6926 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.4533, allocations: 0.9483 MB / 0.6935 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4544, allocations: 176.6 kB / 0.6937 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.4545, allocations: 28.73 kB / 0.6937 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.4545, allocations: 4.125 kB / 0.6937 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002564/0.457, allocations: 1.002 MB / 0.6947 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4571, allocations: 1.969 kB / 0.6947 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.458, allocations: 326.8 kB / 0.695 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.4586, allocations: 143.3 kB / 0.6951 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.4599, allocations: 0.9301 MB / 0.696 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/0.4609, allocations: 176.3 kB / 0.6962 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/0.4609, allocations: 27.47 kB / 0.6962 GB, free: 4.988 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 (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.0003867/0.4613, allocations: 352.4 kB / 0.6966 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4615, allocations: 106.3 kB / 0.6967 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.4645, allocations: 1.228 MB / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.4645, allocations: 9.719 kB / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4645, allocations: 0 / 0.6979 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4645, allocations: 5.828 kB / 0.6979 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/0.4685, allocations: 2.327 MB / 0.7002 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4686, allocations: 2.094 kB / 0.7002 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.4691, allocations: 114.5 kB / 0.7003 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.47, allocations: 327.3 kB / 0.7006 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.4701, allocations: 21.27 kB / 0.7006 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.4714, allocations: 0.9617 MB / 0.7015 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4714, allocations: 6.312 kB / 0.7016 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.4748, allocations: 1.413 MB / 0.7029 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.4752, allocations: 290.5 kB / 0.7032 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4753, allocations: 8.281 kB / 0.7032 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.4762, allocations: 133.3 kB / 0.7033 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.4763, allocations: 34.33 kB / 0.7034 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4763, allocations: 32.14 kB / 0.7034 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007148/0.4771, allocations: 0.6664 MB / 0.7041 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4771, allocations: 0 / 0.7041 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001328/0.4784, allocations: 0.5681 MB / 0.7046 GB, free: 0.7734 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 (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.003432/0.4818, allocations: 2.055 MB / 0.7066 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003287/0.4851, allocations: 1.394 MB / 0.708 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4852, allocations: 3.906 kB / 0.708 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4863, allocations: 493.8 kB / 0.7085 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.4887, allocations: 0.4942 MB / 0.7089 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.5045, allocations: 9.172 MB / 0.7179 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.5051, allocations: 1.074 MB / 0.7189 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008428/0.5059, allocations: 233.9 kB / 0.7192 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.5064, allocations: 423.3 kB / 0.7196 GB, free: 4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5064, allocations: 0 / 0.7196 GB, free: 4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.912/6.418, allocations: 31.6 MB / 0.7504 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003776/6.419, allocations: 275.1 kB / 0.7507 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/10.49, allocations: 3.938 kB / 0.7507 GB, free: 4.488 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/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)