Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_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.0007086/0.0007086, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004047/0.004047, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 12.52 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3257/0.4562, allocations: 129.3 MB / 0.7144 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02936/0.4856, allocations: 23.03 MB / 0.7369 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.4904, allocations: 109.1 kB / 0.737 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003799/0.4942, allocations: 1.204 MB / 0.7381 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.5046, allocations: 3.768 MB / 0.7418 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.5095, allocations: 1.967 MB / 0.7437 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008494/0.518, allocations: 8.276 MB / 0.7518 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.5208, allocations: 1.928 MB / 0.7537 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.5252, allocations: 2.298 MB / 0.7559 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.5279, allocations: 1.788 MB / 0.7577 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.5283, allocations: 92 kB / 0.7578 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.5321, allocations: 1.711 MB / 0.7594 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005238/0.5327, allocations: 449.7 kB / 0.7599 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.5344, allocations: 1.292 MB / 0.7611 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.5394, allocations: 4.143 MB / 0.7652 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5394, allocations: 7.984 kB / 0.7652 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5394, allocations: 0 / 0.7652 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.313e-05/0.5395, allocations: 0 / 0.7652 GB, free: 6.668 MB / 0.5762 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.004764/0.5443, allocations: 2.678 MB / 0.7678 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5443, allocations: 15.97 kB / 0.7678 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003044/0.5446, allocations: 216.3 kB / 0.768 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.549, allocations: 0.9645 MB / 0.769 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.5527, allocations: 2.26 MB / 0.7712 GB, free: 376 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009552/0.5537, allocations: 326.8 kB / 0.7715 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.554, allocations: 160 kB / 0.7716 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003882/0.5578, allocations: 1.977 MB / 0.7736 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5579, allocations: 7.922 kB / 0.7736 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.558, allocations: 68 kB / 0.7736 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.5581, allocations: 39.94 kB / 0.7737 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.5627, allocations: 1.913 MB / 0.7756 GB, free: 11.82 MB / 0.5919 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.01117/0.5739, allocations: 9.105 MB / 0.7844 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.5782, allocations: 1.305 MB / 0.7857 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.5793, allocations: 478 kB / 0.7862 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5804, allocations: 1.727 MB / 0.7879 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5804, allocations: 50.23 kB / 0.7879 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.556e-06/0.5804, allocations: 3.984 kB / 0.7879 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008352/0.5888, allocations: 2.523 MB / 0.7904 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.5889, allocations: 85.11 kB / 0.7905 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.5925, allocations: 2.536 MB / 0.7929 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.5926, allocations: 41.7 kB / 0.793 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/0.5934, allocations: 1.045 MB / 0.794 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.5936, allocations: 272.2 kB / 0.7943 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5938, allocations: 89.67 kB / 0.7943 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5939, allocations: 345.9 kB / 0.7947 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.5956, allocations: 0.635 MB / 0.7953 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.5976, allocations: 1.009 MB / 0.7963 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.6005, allocations: 1.32 MB / 0.7976 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6006, allocations: 4 kB / 0.7976 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006216/0.6068, allocations: 2.2 MB / 0.7997 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6068, allocations: 14.59 kB / 0.7997 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6068, allocations: 11.98 kB / 0.7997 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.6085, allocations: 0.501 MB / 0.8002 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.6097, allocations: 303.6 kB / 0.8005 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.6118, allocations: 1.561 MB / 0.802 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.6145, allocations: 477.9 kB / 0.8025 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.6147, allocations: 59.97 kB / 0.8026 GB, free: 14.71 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000724/0.6154, allocations: 462.9 kB / 0.803 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.6157, allocations: 252.8 kB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.6192, allocations: 1.552 MB / 0.8048 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.6193, allocations: 11.98 kB / 0.8048 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6193, allocations: 0 / 0.8048 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6193, allocations: 3.984 kB / 0.8048 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.6263, allocations: 3.719 MB / 0.8084 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6263, allocations: 0 / 0.8084 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.6269, allocations: 136.2 kB / 0.8085 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.6285, allocations: 0.501 MB / 0.809 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.6286, allocations: 31.97 kB / 0.8091 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.6311, allocations: 1.645 MB / 0.8107 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6311, allocations: 7.984 kB / 0.8107 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.6369, allocations: 2.072 MB / 0.8127 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/0.6376, allocations: 0.517 MB / 0.8132 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.638, allocations: 20 kB / 0.8132 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.6397, allocations: 199.6 kB / 0.8134 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.6398, allocations: 59.88 kB / 0.8135 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/0.6399, allocations: 39.95 kB / 0.8135 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002717/0.6426, allocations: 1.793 MB / 0.8152 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.794e-06/0.6426, allocations: 0 / 0.8152 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001636/0.6443, allocations: 0.6827 MB / 0.8159 GB, free: 0.75 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006912/0.6512, allocations: 3.137 MB / 0.819 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003915/0.6551, allocations: 1.432 MB / 0.8204 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.6551, allocations: 0 / 0.8204 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.6575, allocations: 0.7446 MB / 0.8211 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006735/0.6642, allocations: 1.309 MB / 0.8224 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04032/0.7046, allocations: 20.23 MB / 0.8421 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.7056, allocations: 1.494 MB / 0.8436 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00192/0.7076, allocations: 432.6 kB / 0.844 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.7087, allocations: 0.9054 MB / 0.8449 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7087, allocations: 0 / 0.8449 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.04/10.75, allocations: 69.15 MB / 0.9124 GB, free: 201.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/10.75, allocations: 269.6 kB / 0.9127 GB, free: 200.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/14.45, allocations: 4 kB / 0.9127 GB, free: 200.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)