Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",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.000782/0.0007825, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009143/0.0009143, allocations: 172.7 kB / 15.95 MB, free: 208 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7864/0.7864, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 12.2 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5031, allocations: 81.58 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1214/0.6245, allocations: 122.1 MB / 0.7024 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03262/0.6572, allocations: 21.76 MB / 0.7237 GB, free: 368 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004637/0.6618, allocations: 111.2 kB / 0.7238 GB, free: 256 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.6657, allocations: 0.9973 MB / 0.7248 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.6766, allocations: 3.162 MB / 0.7278 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.682, allocations: 1.522 MB / 0.7293 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.6931, allocations: 7.177 MB / 0.7363 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004099/0.6972, allocations: 1.68 MB / 0.738 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.7027, allocations: 2.15 MB / 0.7401 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003946/0.7067, allocations: 1.684 MB / 0.7417 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008318/0.7076, allocations: 95.94 kB / 0.7418 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.7121, allocations: 1.216 MB / 0.743 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008375/0.7129, allocations: 429.8 kB / 0.7434 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.7143, allocations: 0.5511 MB / 0.7439 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004761/0.719, allocations: 3.137 MB / 0.747 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7191, allocations: 0 / 0.747 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7191, allocations: 0 / 0.747 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001042/0.7192, allocations: 0 / 0.747 GB, free: 8.371 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.005594/0.7248, allocations: 2.703 MB / 0.7497 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7248, allocations: 12.03 kB / 0.7497 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000415/0.7253, allocations: 219.8 kB / 0.7499 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.7293, allocations: 0.9528 MB / 0.7508 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.7339, allocations: 2.218 MB / 0.753 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008789/0.7348, allocations: 322.9 kB / 0.7533 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.7351, allocations: 156 kB / 0.7534 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/0.7393, allocations: 1.969 MB / 0.7553 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.7393, allocations: 7.938 kB / 0.7554 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.7395, allocations: 60 kB / 0.7554 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.7395, allocations: 40 kB / 0.7555 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.744, allocations: 1.878 MB / 0.7573 GB, free: 13.61 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.01384/0.7579, allocations: 9.09 MB / 0.7662 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.7619, allocations: 1.292 MB / 0.7674 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.763, allocations: 481.4 kB / 0.7679 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.7644, allocations: 1.723 MB / 0.7696 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.7644, allocations: 42.55 kB / 0.7696 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.7645, allocations: 4 kB / 0.7696 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008227/0.7727, allocations: 2.483 MB / 0.772 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7728, allocations: 85.11 kB / 0.7721 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.7773, allocations: 2.493 MB / 0.7745 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.7775, allocations: 45.7 kB / 0.7746 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.7784, allocations: 1.045 MB / 0.7756 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.7788, allocations: 280.1 kB / 0.7759 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.7789, allocations: 24 kB / 0.7759 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.7791, allocations: 345.9 kB / 0.7762 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.7807, allocations: 0.6271 MB / 0.7768 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.7828, allocations: 1.009 MB / 0.7778 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.7845, allocations: 0.6818 MB / 0.7785 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.7845, allocations: 4 kB / 0.7785 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004946/0.7895, allocations: 1.948 MB / 0.7804 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.7895, allocations: 12.12 kB / 0.7804 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.7895, allocations: 8 kB / 0.7804 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.7912, allocations: 449.1 kB / 0.7809 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7923, allocations: 307.6 kB / 0.7811 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.7946, allocations: 1.546 MB / 0.7827 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.7974, allocations: 470 kB / 0.7831 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.7975, allocations: 63.95 kB / 0.7832 GB, free: 1.75 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 (112): * Single equations (assignments): 110 * 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 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008885/0.7984, allocations: 470.5 kB / 0.7836 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004943/0.7989, allocations: 248.8 kB / 0.7838 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.8025, allocations: 1.541 MB / 0.7854 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.8025, allocations: 11.98 kB / 0.7854 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.8025, allocations: 7.953 kB / 0.7854 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8025, allocations: 3.984 kB / 0.7854 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/0.8102, allocations: 3.678 MB / 0.789 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8102, allocations: 4 kB / 0.789 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.8108, allocations: 136.2 kB / 0.7891 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.8122, allocations: 445.2 kB / 0.7895 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.8122, allocations: 23.98 kB / 0.7895 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.8146, allocations: 1.634 MB / 0.7911 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.8146, allocations: 8.062 kB / 0.7912 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005377/0.82, allocations: 2.076 MB / 0.7932 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.8211, allocations: 0.5053 MB / 0.7937 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/0.8216, allocations: 19.98 kB / 0.7937 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.8235, allocations: 191.8 kB / 0.7939 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.8236, allocations: 55.88 kB / 0.7939 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.8237, allocations: 43.97 kB / 0.794 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003299/0.827, allocations: 1.746 MB / 0.7957 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8271, allocations: 0 / 0.7957 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002488/0.8295, allocations: 0.6826 MB / 0.7963 GB, free: 3.969 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 (63): * Single equations (assignments): 53 * 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 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007409/0.837, allocations: 3.088 MB / 0.7994 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.841, allocations: 1.431 MB / 0.8008 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8411, allocations: 8.062 kB / 0.8008 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.8432, allocations: 0.7109 MB / 0.8015 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/0.8493, allocations: 1.286 MB / 0.8027 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3/1.149, allocations: 14.97 MB / 0.8173 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.151, allocations: 1.488 MB / 0.8188 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002208/1.153, allocations: 432.3 kB / 0.8192 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.154, allocations: 0.8956 MB / 0.8201 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/1.154, allocations: 0 / 0.8201 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09646/1.25, allocations: 68.35 MB / 0.8868 GB, free: 161 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.251, allocations: 243.7 kB / 0.8871 GB, free: 160.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.695/4.946, allocations: 0 / 0.8871 GB, free: 160.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: