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.007315/0.007316, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001529/0.001529, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7092/0.7092, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.86 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06506/0.2156, allocations: 70.45 MB / 0.728 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.2388, allocations: 18.91 MB / 0.7464 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.2416, allocations: 67.62 kB / 0.7465 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.2442, allocations: 0.8346 MB / 0.7473 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007591/0.2519, allocations: 3.007 MB / 0.7503 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.2558, allocations: 1.655 MB / 0.7519 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004935/0.2607, allocations: 4.053 MB / 0.7558 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.2629, allocations: 1.453 MB / 0.7573 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.2668, allocations: 1.813 MB / 0.759 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.2688, allocations: 1.184 MB / 0.7602 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.2692, allocations: 180 kB / 0.7603 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.2722, allocations: 1.416 MB / 0.7617 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.2728, allocations: 386.6 kB / 0.7621 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.2742, allocations: 0.9138 MB / 0.763 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.2786, allocations: 3.117 MB / 0.766 GB, free: 216 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2786, allocations: 0 / 0.766 GB, free: 216 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2787, allocations: 0 / 0.766 GB, free: 216 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.046e-05/0.2787, allocations: 4 kB / 0.766 GB, free: 212 kB / 0.5919 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.004303/0.283, allocations: 2.038 MB / 0.768 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2831, allocations: 12.03 kB / 0.768 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000284/0.2834, allocations: 160.5 kB / 0.7682 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.2855, allocations: 449.4 kB / 0.7686 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.2884, allocations: 1.543 MB / 0.7701 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.2885, allocations: 82.03 kB / 0.7702 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2886, allocations: 100 kB / 0.7703 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.2909, allocations: 1.313 MB / 0.7716 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2909, allocations: 3.938 kB / 0.7716 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.291, allocations: 47.94 kB / 0.7716 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.291, allocations: 24 kB / 0.7717 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.2934, allocations: 1.101 MB / 0.7727 GB, free: 9.109 MB / 0.6075 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.007552/0.301, allocations: 7.505 MB / 0.7801 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.3037, allocations: 0.8074 MB / 0.7809 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.3043, allocations: 286 kB / 0.7811 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.3054, allocations: 1.714 MB / 0.7828 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3054, allocations: 43 kB / 0.7828 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.465e-06/0.3054, allocations: 0 / 0.7828 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004048/0.3095, allocations: 1.33 MB / 0.7841 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3095, allocations: 59.83 kB / 0.7842 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.3116, allocations: 1.545 MB / 0.7857 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.3116, allocations: 37.7 kB / 0.7857 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.3121, allocations: 0.669 MB / 0.7864 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3123, allocations: 169.6 kB / 0.7866 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.3125, allocations: 170.4 kB / 0.7867 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3127, allocations: 345.9 kB / 0.787 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/0.3135, allocations: 361.8 kB / 0.7874 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.3146, allocations: 0.6546 MB / 0.788 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3161, allocations: 0.8906 MB / 0.7889 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3161, allocations: 4 kB / 0.7889 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002445/0.3186, allocations: 1.186 MB / 0.7901 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3186, allocations: 8 kB / 0.7901 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3186, allocations: 12.03 kB / 0.7901 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.3194, allocations: 220.6 kB / 0.7903 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.3201, allocations: 195.6 kB / 0.7905 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007426/0.3208, allocations: 0.7239 MB / 0.7912 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3221, allocations: 210.7 kB / 0.7914 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/0.3222, allocations: 47.92 kB / 0.7914 GB, free: 4.684 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000431/0.3226, allocations: 365.5 kB / 0.7918 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3228, allocations: 150.2 kB / 0.7919 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.3249, allocations: 1.135 MB / 0.793 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.325, allocations: 15.98 kB / 0.7931 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.325, allocations: 0 / 0.7931 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.325, allocations: 3.984 kB / 0.7931 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.3292, allocations: 2.514 MB / 0.7955 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3293, allocations: 0 / 0.7955 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.3296, allocations: 87.88 kB / 0.7956 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/0.3302, allocations: 212.8 kB / 0.7958 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.3303, allocations: 19.98 kB / 0.7958 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.3314, allocations: 0.7669 MB / 0.7966 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3314, allocations: 4.062 kB / 0.7966 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.3342, allocations: 1.203 MB / 0.7977 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.3346, allocations: 354.9 kB / 0.7981 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3347, allocations: 16 kB / 0.7981 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/0.3355, allocations: 67.92 kB / 0.7982 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.3356, allocations: 48.44 kB / 0.7982 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.3357, allocations: 23.98 kB / 0.7982 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001411/0.3371, allocations: 1.09 MB / 0.7993 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3371, allocations: 0 / 0.7993 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001063/0.3382, allocations: 447.4 kB / 0.7997 GB, free: 12.03 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003729/0.3419, allocations: 2.119 MB / 0.8018 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.3438, allocations: 0.8563 MB / 0.8026 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3438, allocations: 0 / 0.8026 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.345, allocations: 431.6 kB / 0.803 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.3475, allocations: 0.737 MB / 0.8038 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.316/0.6634, allocations: 10.43 MB / 0.8139 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.6642, allocations: 1.174 MB / 0.8151 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001087/0.6653, allocations: 265.5 kB / 0.8153 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/0.6661, allocations: 0.5457 MB / 0.8159 GB, free: 144.9 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.6661, allocations: 3.234 kB / 0.8159 GB, free: 144.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.7295, allocations: 43.72 MB / 0.8586 GB, free: 115.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.69, allocations: 11.62 kB / 0.8586 GB, free: 115.2 MB / 0.6387 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/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)