Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.0009462/0.0009461, allocations: 86.95 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.001014/0.001014, 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.373/1.373, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.728/0.728, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003749, allocations: 8.719 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4619, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06616/0.5281, allocations: 65.06 MB / 0.6467 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02196/0.5501, allocations: 17.7 MB / 0.664 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.5524, allocations: 59.62 kB / 0.664 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.5542, allocations: 0.5238 MB / 0.6645 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.5599, allocations: 2.097 MB / 0.6666 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.5631, allocations: 1.08 MB / 0.6676 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005333/0.5685, allocations: 4.377 MB / 0.6719 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.5701, allocations: 1.03 MB / 0.6729 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.5731, allocations: 1.326 MB / 0.6742 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.5748, allocations: 1.042 MB / 0.6752 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.575, allocations: 56 kB / 0.6753 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.5772, allocations: 0.9082 MB / 0.6762 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.5775, allocations: 242.8 kB / 0.6764 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.578, allocations: 372.9 kB / 0.6768 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.5806, allocations: 2.291 MB / 0.679 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5806, allocations: 4 kB / 0.679 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5806, allocations: 0 / 0.679 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.189e-05/0.5807, allocations: 0 / 0.679 GB, free: 14.17 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003026/0.5837, allocations: 1.723 MB / 0.6807 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5838, allocations: 11.97 kB / 0.6807 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.584, allocations: 160.4 kB / 0.6808 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.586, allocations: 0.4937 MB / 0.6813 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.5884, allocations: 1.462 MB / 0.6828 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.5888, allocations: 153.9 kB / 0.6829 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.5889, allocations: 104 kB / 0.683 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.5913, allocations: 1.305 MB / 0.6843 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.5913, allocations: 7.938 kB / 0.6843 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.5914, allocations: 47.98 kB / 0.6843 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.5915, allocations: 31.95 kB / 0.6844 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.594, allocations: 1.148 MB / 0.6855 GB, free: 7.309 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.008117/0.6022, allocations: 7.188 MB / 0.6925 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.6051, allocations: 0.8864 MB / 0.6934 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.6058, allocations: 302 kB / 0.6937 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.6071, allocations: 1.718 MB / 0.6953 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.6071, allocations: 38.94 kB / 0.6954 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.815e-06/0.6071, allocations: 0 / 0.6954 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004677/0.6118, allocations: 1.448 MB / 0.6968 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6119, allocations: 59.78 kB / 0.6968 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.6142, allocations: 1.529 MB / 0.6983 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.6143, allocations: 37.7 kB / 0.6984 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.6149, allocations: 0.6653 MB / 0.699 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.6151, allocations: 173.5 kB / 0.6992 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.6152, allocations: 12 kB / 0.6992 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6153, allocations: 334 kB / 0.6995 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/0.6163, allocations: 385.8 kB / 0.6999 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.6174, allocations: 0.6664 MB / 0.7005 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.6184, allocations: 437.9 kB / 0.701 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6184, allocations: 0 / 0.701 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002694/0.6211, allocations: 1.212 MB / 0.7021 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6211, allocations: 8.812 kB / 0.7021 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6211, allocations: 8 kB / 0.7022 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/0.6219, allocations: 232.5 kB / 0.7024 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.6227, allocations: 195.8 kB / 0.7026 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.6235, allocations: 0.7357 MB / 0.7033 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.625, allocations: 262.7 kB / 0.7035 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.6251, allocations: 35.98 kB / 0.7036 GB, free: 3.676 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005921/0.6257, allocations: 357.6 kB / 0.7039 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.6259, allocations: 158.1 kB / 0.7041 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.6282, allocations: 1.171 MB / 0.7052 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.6283, allocations: 11.98 kB / 0.7052 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6283, allocations: 4 kB / 0.7052 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6283, allocations: 3.984 kB / 0.7052 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.6332, allocations: 2.588 MB / 0.7077 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.6332, allocations: 0 / 0.7077 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.6336, allocations: 91.88 kB / 0.7078 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.6344, allocations: 224.8 kB / 0.708 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.6344, allocations: 12 kB / 0.7081 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.6356, allocations: 0.8099 MB / 0.7088 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6356, allocations: 0 / 0.7088 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.6389, allocations: 1.277 MB / 0.7101 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.6396, allocations: 371.1 kB / 0.7104 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.6398, allocations: 19.95 kB / 0.7105 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008684/0.6406, allocations: 107.7 kB / 0.7106 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.6407, allocations: 52.38 kB / 0.7106 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.6408, allocations: 23.98 kB / 0.7106 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001738/0.6426, allocations: 1.074 MB / 0.7117 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6426, allocations: 0 / 0.7117 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00131/0.6439, allocations: 431.4 kB / 0.7121 GB, free: 10.76 MB / 0.545 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00411/0.648, allocations: 2.177 MB / 0.7142 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.6501, allocations: 0.868 MB / 0.7151 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6501, allocations: 4 kB / 0.7151 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6513, allocations: 463.5 kB / 0.7155 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.6546, allocations: 0.6999 MB / 0.7162 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/0.681, allocations: 8.965 MB / 0.725 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009606/0.682, allocations: 1.172 MB / 0.7261 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001438/0.6835, allocations: 273.4 kB / 0.7264 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/0.6843, allocations: 0.5383 MB / 0.7269 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.6844, allocations: 0 / 0.7269 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/0.7545, allocations: 42.9 MB / 0.7688 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7547, allocations: 245.6 kB / 0.769 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.451, allocations: 0 / 0.769 GB, free: 0.5352 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: