Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001193/0.001193, 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.001367/0.001367, 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 2.307/2.307, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.311/1.311, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006072, allocations: 11.94 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.878/0.8787, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1984/1.077, allocations: 110.6 MB / 0.691 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0565/1.134, allocations: 19.93 MB / 0.7105 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009251/1.143, allocations: 103.2 kB / 0.7106 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009872/1.153, allocations: 1.364 MB / 0.7119 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0275/1.181, allocations: 4.182 MB / 0.716 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01498/1.196, allocations: 2.566 MB / 0.7185 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01733/1.213, allocations: 3.908 MB / 0.7223 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006952/1.22, allocations: 1.731 MB / 0.724 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009682/1.23, allocations: 2.024 MB / 0.726 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/1.235, allocations: 1.252 MB / 0.7272 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008431/1.235, allocations: 92 kB / 0.7273 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/1.244, allocations: 1.338 MB / 0.7286 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/1.245, allocations: 410.2 kB / 0.729 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/1.247, allocations: 0.5511 MB / 0.7295 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008195/1.255, allocations: 3.109 MB / 0.7325 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.255, allocations: 0 / 0.7325 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.016e-06/1.255, allocations: 0 / 0.7325 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001248/1.255, allocations: 0 / 0.7325 GB, free: 7.164 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.01019/1.266, allocations: 2.701 MB / 0.7352 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.445e-05/1.266, allocations: 16.03 kB / 0.7352 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009869/1.267, allocations: 215.8 kB / 0.7354 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008312/1.275, allocations: 0.9567 MB / 0.7363 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/1.284, allocations: 2.075 MB / 0.7384 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001745/1.286, allocations: 330.8 kB / 0.7387 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007443/1.287, allocations: 160 kB / 0.7388 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007977/1.295, allocations: 1.962 MB / 0.7407 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/1.295, allocations: 3.938 kB / 0.7407 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/1.295, allocations: 64 kB / 0.7408 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/1.295, allocations: 36 kB / 0.7408 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009382/1.305, allocations: 1.905 MB / 0.7427 GB, free: 12.52 MB / 0.5762 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.02548/1.33, allocations: 9.176 MB / 0.7517 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007765/1.338, allocations: 1.334 MB / 0.753 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/1.34, allocations: 1.719 MB / 0.7546 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.34, allocations: 42.52 kB / 0.7547 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.298e-06/1.34, allocations: 4 kB / 0.7547 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.01535/1.355, allocations: 2.488 MB / 0.7571 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/1.356, allocations: 85.11 kB / 0.7572 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007436/1.363, allocations: 2.571 MB / 0.7597 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003515/1.363, allocations: 45.7 kB / 0.7598 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.365, allocations: 1.05 MB / 0.7608 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/1.365, allocations: 272.2 kB / 0.761 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.366, allocations: 20 kB / 0.7611 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.366, allocations: 353.9 kB / 0.7614 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.369, allocations: 0.6232 MB / 0.762 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/1.372, allocations: 1.001 MB / 0.763 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.376, allocations: 0.6896 MB / 0.7637 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.376, allocations: 0 / 0.7637 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009531/1.385, allocations: 1.956 MB / 0.7656 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/1.386, allocations: 8.625 kB / 0.7656 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/1.386, allocations: 12 kB / 0.7656 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/1.389, allocations: 0.5088 MB / 0.7661 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.391, allocations: 303.6 kB / 0.7664 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003747/1.395, allocations: 1.564 MB / 0.7679 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/1.401, allocations: 485.8 kB / 0.7684 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/1.401, allocations: 55.97 kB / 0.7684 GB, free: 0.832 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001784/1.403, allocations: 465.4 kB / 0.7689 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.404, allocations: 252.9 kB / 0.7691 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00705/1.411, allocations: 1.549 MB / 0.7706 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/1.411, allocations: 12 kB / 0.7706 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.411, allocations: 3.984 kB / 0.7706 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.411, allocations: 7.984 kB / 0.7706 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/1.425, allocations: 3.74 MB / 0.7743 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.425, allocations: 4 kB / 0.7743 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.427, allocations: 132.2 kB / 0.7744 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/1.43, allocations: 0.5071 MB / 0.7749 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/1.43, allocations: 23.98 kB / 0.7749 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/1.434, allocations: 1.643 MB / 0.7765 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.434, allocations: 7.938 kB / 0.7765 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.445, allocations: 2.342 MB / 0.7788 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/1.448, allocations: 0.5249 MB / 0.7793 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009402/1.449, allocations: 23.98 kB / 0.7794 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/1.453, allocations: 195.7 kB / 0.7796 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.453, allocations: 55.83 kB / 0.7796 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.454, allocations: 47.95 kB / 0.7797 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005963/1.46, allocations: 1.809 MB / 0.7814 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.21e-07/1.46, allocations: 96 / 0.7814 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004535/1.464, allocations: 0.6944 MB / 0.7821 GB, free: 2.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01369/1.478, allocations: 4.184 MB / 0.7862 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007385/1.485, allocations: 1.428 MB / 0.7876 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.485, allocations: 0 / 0.7876 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/1.49, allocations: 0.7249 MB / 0.7883 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.501, allocations: 1.253 MB / 0.7895 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.522, allocations: 10.88 MB / 0.8001 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.524, allocations: 1.533 MB / 0.8016 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004147/1.528, allocations: 444.7 kB / 0.8021 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/1.531, allocations: 0.9014 MB / 0.8029 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of SimCode: time 2.024e-06/1.531, allocations: 0 / 0.8029 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6825/2.213, allocations: 68.1 MB / 0.8694 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/2.214, allocations: 253.6 kB / 0.8697 GB, free: 175.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.602/7.816, allocations: 3.5 kB / 0.8697 GB, free: 175.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: