Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_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_TEva_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_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.001004/0.001003, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009173/0.0009173, allocations: 177.3 kB / 15.94 MB, free: 228 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.507/1.507, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9943/0.9943, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 82.32 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.4836/0.6938, allocations: 51.26 MB / 0.6373 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.7091, allocations: 10.32 MB / 0.6474 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.7122, allocations: 50.78 kB / 0.6475 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.715, allocations: 0.6279 MB / 0.6481 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.7233, allocations: 1.944 MB / 0.65 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.7281, allocations: 1.3 MB / 0.6512 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005684/0.7338, allocations: 1.852 MB / 0.653 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.736, allocations: 0.8038 MB / 0.6538 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.739, allocations: 0.9821 MB / 0.6548 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.7412, allocations: 0.6037 MB / 0.6554 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.7417, allocations: 40.47 kB / 0.6554 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.7459, allocations: 1.022 MB / 0.6564 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005547/0.7465, allocations: 194.4 kB / 0.6566 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.7476, allocations: 286.3 kB / 0.6569 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.7509, allocations: 1.606 MB / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.751, allocations: 1.219 kB / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.751, allocations: 0 / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.751, allocations: 0 / 0.6584 GB, free: 11.23 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.003161/0.7542, allocations: 1.488 MB / 0.6599 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.7542, allocations: 12.84 kB / 0.6599 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.7544, allocations: 122.2 kB / 0.66 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.7562, allocations: 383 kB / 0.6604 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.7585, allocations: 1.052 MB / 0.6614 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.7589, allocations: 126.6 kB / 0.6615 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.7591, allocations: 84.03 kB / 0.6616 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.7614, allocations: 0.9642 MB / 0.6626 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.7615, allocations: 0.6562 kB / 0.6626 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.7616, allocations: 31.62 kB / 0.6626 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.7616, allocations: 24.83 kB / 0.6626 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.7639, allocations: 0.84 MB / 0.6634 GB, free: 8.57 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.007717/0.7717, allocations: 4.829 MB / 0.6681 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.7735, allocations: 0.6082 MB / 0.6687 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.7749, allocations: 1.396 MB / 0.6701 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.775, allocations: 41.98 kB / 0.6701 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.886e-06/0.775, allocations: 0 / 0.6701 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.006999/0.782, allocations: 1.669 MB / 0.6718 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.7821, allocations: 59.78 kB / 0.6718 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.7844, allocations: 1.067 MB / 0.6729 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.7846, allocations: 37.64 kB / 0.6729 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/0.7852, allocations: 0.5182 MB / 0.6734 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.7854, allocations: 158.1 kB / 0.6736 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.7854, allocations: 10.94 kB / 0.6736 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7856, allocations: 329.5 kB / 0.6739 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.7865, allocations: 283.2 kB / 0.6742 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.7876, allocations: 483 kB / 0.6746 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.7885, allocations: 327.5 kB / 0.6749 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7886, allocations: 0.9062 kB / 0.6749 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003254/0.7918, allocations: 0.9682 MB / 0.6759 GB, free: 436 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009342/0.7928, allocations: 1.494 MB / 0.6773 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7928, allocations: 4.281 kB / 0.6773 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.7945, allocations: 333.4 kB / 0.6777 GB, free: 14.76 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.7951, allocations: 114.3 kB / 0.6778 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.7968, allocations: 0.9399 MB / 0.6787 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.7986, allocations: 185 kB / 0.6789 GB, free: 14.03 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.7987, allocations: 28.8 kB / 0.6789 GB, free: 14.03 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.7988, allocations: 4 kB / 0.6789 GB, free: 14.03 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002721/0.8015, allocations: 0.8417 MB / 0.6797 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8015, allocations: 4.094 kB / 0.6797 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.8029, allocations: 338.7 kB / 0.68 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.8034, allocations: 111.3 kB / 0.6802 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.8051, allocations: 0.9382 MB / 0.6811 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.8069, allocations: 163.9 kB / 0.6812 GB, free: 12.94 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.807, allocations: 32.69 kB / 0.6813 GB, free: 12.93 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0008484/0.8078, allocations: 352.1 kB / 0.6816 GB, free: 12.64 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.8081, allocations: 111.9 kB / 0.6817 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.811, allocations: 0.9342 MB / 0.6826 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.8111, allocations: 9.969 kB / 0.6826 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8111, allocations: 0 / 0.6826 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.8111, allocations: 3.453 kB / 0.6826 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.8182, allocations: 2.344 MB / 0.6849 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.8183, allocations: 3.094 kB / 0.6849 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.8186, allocations: 60.81 kB / 0.685 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.8199, allocations: 338.3 kB / 0.6853 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.8199, allocations: 11.69 kB / 0.6853 GB, free: 11.11 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.8217, allocations: 0.9687 MB / 0.6863 GB, free: 10.44 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8217, allocations: 2.562 kB / 0.6863 GB, free: 10.44 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.827, allocations: 1.472 MB / 0.6877 GB, free: 9.746 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.8282, allocations: 282.7 kB / 0.688 GB, free: 9.531 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.8284, allocations: 14.33 kB / 0.688 GB, free: 9.523 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/0.8293, allocations: 105.4 kB / 0.6881 GB, free: 9.504 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8295, allocations: 40.69 kB / 0.6881 GB, free: 9.492 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.8296, allocations: 27.69 kB / 0.6881 GB, free: 9.484 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001592/0.8312, allocations: 0.7466 MB / 0.6889 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8312, allocations: 0 / 0.6889 GB, free: 9.168 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00238/0.8336, allocations: 0.5806 MB / 0.6894 GB, free: 9.043 MB / 0.5138 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 (34): * Single equations (assignments): 29 * 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.006272/0.8398, allocations: 2.775 MB / 0.6921 GB, free: 7.145 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.004088/0.844, allocations: 1.05 MB / 0.6932 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.844, allocations: 1.062 kB / 0.6932 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.8452, allocations: 336.7 kB / 0.6935 GB, free: 6.758 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.8489, allocations: 0.4986 MB / 0.694 GB, free: 6.621 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/0.8579, allocations: 5.508 MB / 0.6994 GB, free: 2.203 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.859, allocations: 1.088 MB / 0.7004 GB, free: 1.477 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001411/0.8604, allocations: 214.9 kB / 0.7006 GB, free: 1.422 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.861, allocations: 409.6 kB / 0.701 GB, free: 1.117 MB / 0.5138 GB Notification: Performance of SimCode: time 2.876e-06/0.8611, allocations: 5.031 kB / 0.701 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06694/0.928, allocations: 33.27 MB / 0.7335 GB, free: 5.48 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003791/0.9284, allocations: 244.4 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.744, allocations: 4 kB / 0.7338 GB, free: 5.199 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) Environment - environmentSimulation: