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.0009216/0.0009216, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 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.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9552/0.9552, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 15.98 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2048, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4803/0.6851, allocations: 122.2 MB / 0.7068 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03525/0.7204, allocations: 21.75 MB / 0.728 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007008/0.7275, allocations: 107.7 kB / 0.7281 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.7323, allocations: 0.9985 MB / 0.7291 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.7454, allocations: 3.155 MB / 0.7322 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006307/0.7517, allocations: 1.518 MB / 0.7337 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01401/0.7657, allocations: 7.2 MB / 0.7407 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.7695, allocations: 1.676 MB / 0.7423 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006311/0.7758, allocations: 2.155 MB / 0.7444 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.7801, allocations: 1.686 MB / 0.7461 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007445/0.7808, allocations: 92 kB / 0.7462 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005114/0.786, allocations: 1.216 MB / 0.7473 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008999/0.7869, allocations: 421.9 kB / 0.7477 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.7885, allocations: 0.555 MB / 0.7483 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.7938, allocations: 3.141 MB / 0.7514 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7938, allocations: 4 kB / 0.7514 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7939, allocations: 0 / 0.7514 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.686e-05/0.7939, allocations: 0 / 0.7514 GB, free: 4.781 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.005553/0.7995, allocations: 2.701 MB / 0.754 GB, free: 2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7996, allocations: 9.094 kB / 0.754 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004329/0.8, allocations: 223.8 kB / 0.7542 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.8043, allocations: 0.9528 MB / 0.7552 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/0.8091, allocations: 2.186 MB / 0.7573 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000896/0.81, allocations: 330.8 kB / 0.7576 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.8104, allocations: 156 kB / 0.7578 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004225/0.8146, allocations: 1.973 MB / 0.7597 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.8146, allocations: 3.938 kB / 0.7597 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.8148, allocations: 64 kB / 0.7597 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.8149, allocations: 43.94 kB / 0.7598 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/0.8194, allocations: 1.897 MB / 0.7616 GB, free: 10.02 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.01577/0.8352, allocations: 9.109 MB / 0.7705 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.8392, allocations: 1.295 MB / 0.7718 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.8404, allocations: 477.4 kB / 0.7723 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.8416, allocations: 1.722 MB / 0.7739 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.8417, allocations: 50.3 kB / 0.774 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.8417, allocations: 0 / 0.774 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007953/0.8497, allocations: 2.5 MB / 0.7764 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.8498, allocations: 89.11 kB / 0.7765 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.8538, allocations: 2.509 MB / 0.779 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.854, allocations: 45.64 kB / 0.779 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/0.8549, allocations: 1.05 MB / 0.78 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.8552, allocations: 272.2 kB / 0.7803 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.8553, allocations: 20 kB / 0.7803 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8555, allocations: 345.9 kB / 0.7806 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.8571, allocations: 0.6232 MB / 0.7812 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.859, allocations: 1.009 MB / 0.7822 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.8607, allocations: 0.6858 MB / 0.7829 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.8607, allocations: 4 kB / 0.7829 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004806/0.8655, allocations: 1.963 MB / 0.7848 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.8656, allocations: 8 kB / 0.7848 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8656, allocations: 8 kB / 0.7848 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.8673, allocations: 0.5055 MB / 0.7853 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.8685, allocations: 307.6 kB / 0.7856 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.8706, allocations: 1.553 MB / 0.7871 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.8734, allocations: 485.9 kB / 0.7876 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.8736, allocations: 63.97 kB / 0.7877 GB, free: 14.02 MB / 0.6075 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.0009004/0.8745, allocations: 460.4 kB / 0.7881 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.875, allocations: 253 kB / 0.7883 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.8786, allocations: 1.542 MB / 0.7899 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.8786, allocations: 16 kB / 0.7899 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8786, allocations: 0 / 0.7899 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8786, allocations: 7.984 kB / 0.7899 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007396/0.886, allocations: 3.709 MB / 0.7935 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.8861, allocations: 384 / 0.7935 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.8867, allocations: 135.8 kB / 0.7936 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.8883, allocations: 0.5011 MB / 0.7941 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.8884, allocations: 23.98 kB / 0.7941 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.8909, allocations: 1.649 MB / 0.7957 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.8909, allocations: 8.094 kB / 0.7958 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/0.8967, allocations: 2.076 MB / 0.7978 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.8987, allocations: 0.5093 MB / 0.7983 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/0.8993, allocations: 12 kB / 0.7983 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.9011, allocations: 199.7 kB / 0.7985 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.9012, allocations: 55.88 kB / 0.7985 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.9014, allocations: 43.97 kB / 0.7986 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003148/0.9045, allocations: 1.762 MB / 0.8003 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.904e-06/0.9045, allocations: 4 kB / 0.8003 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002339/0.9069, allocations: 0.6904 MB / 0.801 GB, free: 120 kB / 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.006899/0.9138, allocations: 3.097 MB / 0.804 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004106/0.9179, allocations: 1.433 MB / 0.8054 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.918, allocations: 0 / 0.8054 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.9201, allocations: 0.7252 MB / 0.8061 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006424/0.9265, allocations: 1.267 MB / 0.8073 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/0.9606, allocations: 15.07 MB / 0.8221 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.9617, allocations: 1.486 MB / 0.8235 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00228/0.964, allocations: 440.5 kB / 0.8239 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.9653, allocations: 0.8976 MB / 0.8248 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of SimCode: time 1.342e-06/0.9653, allocations: 4 kB / 0.8248 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4837/1.449, allocations: 68.64 MB / 0.8918 GB, free: 195.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.449, allocations: 262.5 kB / 0.8921 GB, free: 194.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.805/5.254, allocations: 4 kB / 0.8921 GB, free: 194.8 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/linux/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) Environment - environmentSimulation: