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.004736/0.004736, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 204 kB / 16.68 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.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.9287/0.9287, allocations: 135.6 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3394, allocations: 81.02 MB / 0.6649 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1345/0.4739, allocations: 132.2 MB / 0.794 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03264/0.5066, allocations: 23.2 MB / 0.8166 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.5105, allocations: 123.3 kB / 0.8167 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.5147, allocations: 1.486 MB / 0.8182 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.526, allocations: 4.099 MB / 0.8222 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005516/0.5315, allocations: 2.159 MB / 0.8243 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009209/0.5407, allocations: 6.54 MB / 0.8307 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.5441, allocations: 2.378 MB / 0.833 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005999/0.5501, allocations: 2.755 MB / 0.8357 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.5531, allocations: 1.888 MB / 0.8375 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004422/0.5535, allocations: 248 kB / 0.8378 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.5577, allocations: 1.934 MB / 0.8397 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.5583, allocations: 0.6031 MB / 0.8403 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.56, allocations: 1.458 MB / 0.8417 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006706/0.5667, allocations: 4.408 MB / 0.846 GB, free: 6.844 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5667, allocations: 0 / 0.846 GB, free: 6.844 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5667, allocations: 0 / 0.846 GB, free: 6.844 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.5668, allocations: 0 / 0.846 GB, free: 6.844 MB / 0.67 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.005613/0.5724, allocations: 3.274 MB / 0.8492 GB, free: 3.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5724, allocations: 16.03 kB / 0.8492 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002667/0.5727, allocations: 223.7 kB / 0.8494 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.5772, allocations: 0.8567 MB / 0.8502 GB, free: 2.375 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.5818, allocations: 2.333 MB / 0.8525 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.5819, allocations: 131 kB / 0.8527 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.5822, allocations: 160 kB / 0.8528 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.5863, allocations: 1.93 MB / 0.8547 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.5863, allocations: 0 / 0.8547 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.5865, allocations: 71.92 kB / 0.8548 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.5866, allocations: 36 kB / 0.8548 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.5914, allocations: 1.796 MB / 0.8565 GB, free: 11.79 MB / 0.6856 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.01319/0.6046, allocations: 9.014 MB / 0.8653 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/0.6092, allocations: 1.202 MB / 0.8665 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.6104, allocations: 458.1 kB / 0.867 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2737/0.8841, allocations: 1.718 MB / 0.8686 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.8842, allocations: 45.7 kB / 0.8687 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.8842, allocations: 0 / 0.8687 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.0088/0.893, allocations: 2.349 MB / 0.871 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.893, allocations: 88.53 kB / 0.8711 GB, free: 185 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.8968, allocations: 2.523 MB / 0.8735 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/0.8969, allocations: 44.33 kB / 0.8736 GB, free: 184 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000674/0.8976, allocations: 1.059 MB / 0.8746 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.8978, allocations: 282.7 kB / 0.8749 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.8982, allocations: 256.6 kB / 0.8751 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.8982, allocations: 356.6 kB / 0.8755 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.8999, allocations: 0.5713 MB / 0.876 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.9018, allocations: 0.9508 MB / 0.8769 GB, free: 182 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.9048, allocations: 1.241 MB / 0.8782 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.9048, allocations: 2.875 kB / 0.8782 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006262/0.911, allocations: 2.037 MB / 0.8801 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.9111, allocations: 9.312 kB / 0.8802 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.9111, allocations: 9.844 kB / 0.8802 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.9127, allocations: 491.2 kB / 0.8806 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.9138, allocations: 290 kB / 0.8809 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.9156, allocations: 1.511 MB / 0.8824 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.918, allocations: 375.8 kB / 0.8827 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.9181, allocations: 56.53 kB / 0.8828 GB, free: 179.4 MB / 0.6856 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.0006505/0.9187, allocations: 466.8 kB / 0.8832 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.9191, allocations: 269.1 kB / 0.8835 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.9224, allocations: 1.497 MB / 0.885 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.9224, allocations: 12.89 kB / 0.885 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.9224, allocations: 1.125 kB / 0.885 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9224, allocations: 7.922 kB / 0.885 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.9289, allocations: 3.623 MB / 0.8885 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.9289, allocations: 4.625 kB / 0.8885 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/0.9295, allocations: 125.7 kB / 0.8886 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.931, allocations: 494.9 kB / 0.8891 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/0.9311, allocations: 25.39 kB / 0.8891 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.9334, allocations: 1.586 MB / 0.8907 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9334, allocations: 3.625 kB / 0.8907 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.9391, allocations: 1.954 MB / 0.8926 GB, free: 173 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/0.9399, allocations: 0.492 MB / 0.8931 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.9402, allocations: 22.5 kB / 0.8931 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.9419, allocations: 141.9 kB / 0.8932 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.942, allocations: 62.52 kB / 0.8933 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.942, allocations: 45.53 kB / 0.8933 GB, free: 172.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002583/0.9446, allocations: 1.77 MB / 0.8951 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9446, allocations: 1.344 kB / 0.8951 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001677/0.9463, allocations: 0.6918 MB / 0.8957 GB, free: 171.3 MB / 0.6856 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.006402/0.9527, allocations: 3.018 MB / 0.8987 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.9565, allocations: 1.362 MB / 0.9 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9565, allocations: 3.391 kB / 0.9 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.9587, allocations: 0.6718 MB / 0.9007 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/0.9638, allocations: 1.331 MB / 0.902 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/0.9897, allocations: 16.74 MB / 0.9183 GB, free: 155.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.9903, allocations: 1.49 MB / 0.9198 GB, free: 154.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001483/0.9918, allocations: 433.7 kB / 0.9202 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/0.9926, allocations: 0.8976 MB / 0.9211 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.9927, allocations: 0 / 0.9211 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5419/1.535, allocations: 66.21 MB / 0.9857 GB, free: 87.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/18.44, allocations: 7.875 kB / 0.9857 GB, free: 87.48 MB / 0.6856 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)