Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_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.005483/0.005483, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001523/0.001523, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9102/0.9102, allocations: 135.5 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.89 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 81.03 MB / 0.6649 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1312/0.4655, allocations: 132.2 MB / 0.7939 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03237/0.4979, allocations: 23.19 MB / 0.8166 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.5016, allocations: 131.2 kB / 0.8167 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.5053, allocations: 1.483 MB / 0.8182 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.516, allocations: 4.095 MB / 0.8222 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.5214, allocations: 2.161 MB / 0.8243 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009461/0.5309, allocations: 6.541 MB / 0.8307 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.5347, allocations: 2.371 MB / 0.833 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00615/0.5409, allocations: 2.747 MB / 0.8357 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.5442, allocations: 1.89 MB / 0.8375 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005331/0.5448, allocations: 248 kB / 0.8377 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.549, allocations: 1.934 MB / 0.8396 GB, free: 13.35 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006556/0.5497, allocations: 0.5992 MB / 0.8402 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.5516, allocations: 1.458 MB / 0.8416 GB, free: 11.28 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.5585, allocations: 4.406 MB / 0.8459 GB, free: 6.863 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5585, allocations: 0 / 0.8459 GB, free: 6.863 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5586, allocations: 4 kB / 0.8459 GB, free: 6.859 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.967e-05/0.5586, allocations: 0 / 0.8459 GB, free: 6.859 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.006198/0.5648, allocations: 3.27 MB / 0.8491 GB, free: 3.5 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5649, allocations: 12.03 kB / 0.8491 GB, free: 3.488 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.5652, allocations: 219.8 kB / 0.8494 GB, free: 3.262 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/0.5697, allocations: 0.8489 MB / 0.8502 GB, free: 2.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/0.5746, allocations: 2.356 MB / 0.8525 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.5747, allocations: 123 kB / 0.8526 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/0.575, allocations: 164 kB / 0.8528 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.5793, allocations: 1.93 MB / 0.8546 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.5793, allocations: 0 / 0.8546 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.5795, allocations: 60 kB / 0.8547 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.5795, allocations: 44 kB / 0.8547 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.5844, allocations: 1.792 MB / 0.8565 GB, free: 11.8 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.01353/0.598, allocations: 8.99 MB / 0.8653 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/0.6026, allocations: 1.197 MB / 0.8664 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.6038, allocations: 466 kB / 0.8669 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2678/0.8716, allocations: 1.721 MB / 0.8686 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.8716, allocations: 41.94 kB / 0.8686 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.8716, allocations: 0 / 0.8686 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009232/0.8809, allocations: 2.335 MB / 0.8709 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8809, allocations: 93.97 kB / 0.871 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/0.8849, allocations: 2.493 MB / 0.8734 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.8851, allocations: 45.48 kB / 0.8735 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.8858, allocations: 1.057 MB / 0.8745 GB, free: 183 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.886, allocations: 278.1 kB / 0.8748 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.8864, allocations: 256.5 kB / 0.875 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.8864, allocations: 353.9 kB / 0.8753 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.8882, allocations: 0.5716 MB / 0.8759 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.8901, allocations: 0.9476 MB / 0.8768 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.8931, allocations: 1.249 MB / 0.878 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.8931, allocations: 2.562 kB / 0.878 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006525/0.8997, allocations: 2.028 MB / 0.88 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.8997, allocations: 8.5 kB / 0.88 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.8997, allocations: 9.969 kB / 0.88 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.9012, allocations: 425.7 kB / 0.8804 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.9024, allocations: 285.9 kB / 0.8807 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.9042, allocations: 1.499 MB / 0.8822 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.9068, allocations: 372.3 kB / 0.8825 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.9069, allocations: 65.88 kB / 0.8826 GB, free: 179.1 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007255/0.9076, allocations: 468.1 kB / 0.883 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.908, allocations: 256.7 kB / 0.8833 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.9114, allocations: 1.491 MB / 0.8848 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.9114, allocations: 9.906 kB / 0.8848 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9114, allocations: 0 / 0.8848 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.9114, allocations: 13.28 kB / 0.8848 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006556/0.918, allocations: 3.607 MB / 0.8883 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.918, allocations: 3.25 kB / 0.8883 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006248/0.9186, allocations: 135 kB / 0.8884 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.9201, allocations: 408.9 kB / 0.8888 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.9201, allocations: 25.36 kB / 0.8888 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.9225, allocations: 1.57 MB / 0.8904 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9225, allocations: 7.844 kB / 0.8904 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005914/0.9284, allocations: 1.95 MB / 0.8923 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/0.9292, allocations: 0.4899 MB / 0.8928 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.9296, allocations: 22.11 kB / 0.8928 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.9312, allocations: 138.9 kB / 0.8929 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.821e-05/0.9313, allocations: 61.98 kB / 0.893 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.9314, allocations: 45.47 kB / 0.893 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00264/0.934, allocations: 1.754 MB / 0.8947 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.934, allocations: 0 / 0.8947 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001853/0.9359, allocations: 0.6898 MB / 0.8954 GB, free: 171.2 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006711/0.9426, allocations: 3.021 MB / 0.8984 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003901/0.9465, allocations: 1.353 MB / 0.8997 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9466, allocations: 0 / 0.8997 GB, free: 168.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.9488, allocations: 0.6594 MB / 0.9003 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.005739/0.9546, allocations: 1.32 MB / 0.9016 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/0.9835, allocations: 16.62 MB / 0.9178 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.9842, allocations: 1.489 MB / 0.9193 GB, free: 154.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001654/0.9859, allocations: 435.1 kB / 0.9197 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009072/0.9868, allocations: 0.9015 MB / 0.9206 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/0.9868, allocations: 0 / 0.9206 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7843/1.771, allocations: 65.9 MB / 0.9849 GB, free: 87.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/18.52, allocations: 15.72 kB / 0.985 GB, free: 87.71 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)