Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_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.001393/0.001394, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008224/0.0008223, allocations: 207 kB / 16.79 MB, free: 6.84 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.138/1.138, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6023/0.6023, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 76.33 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1065, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.2923/0.3989, allocations: 131.3 MB / 0.6841 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.427, allocations: 23.3 MB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.4304, allocations: 115.2 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.4332, allocations: 1.204 MB / 0.7081 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007998/0.4412, allocations: 3.775 MB / 0.7118 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.4451, allocations: 1.953 MB / 0.7137 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007284/0.4524, allocations: 8.282 MB / 0.7218 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.4546, allocations: 1.969 MB / 0.7237 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.4585, allocations: 2.356 MB / 0.726 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.4607, allocations: 1.87 MB / 0.7279 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.461, allocations: 120 kB / 0.728 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.4644, allocations: 1.742 MB / 0.7297 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.4648, allocations: 481.7 kB / 0.7301 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.4661, allocations: 1.337 MB / 0.7314 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.4704, allocations: 4.222 MB / 0.7356 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4704, allocations: 0 / 0.7356 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.32e-07/0.4704, allocations: 0 / 0.7356 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.4705, allocations: 0 / 0.7356 GB, free: 14.88 MB / 0.5606 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.004674/0.4751, allocations: 3.168 MB / 0.7387 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4752, allocations: 8.031 kB / 0.7387 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002343/0.4754, allocations: 220 kB / 0.7389 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003925/0.4794, allocations: 0.8399 MB / 0.7397 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.4829, allocations: 2.268 MB / 0.7419 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008166/0.4837, allocations: 290.9 kB / 0.7422 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4839, allocations: 160 kB / 0.7423 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.4875, allocations: 1.946 MB / 0.7442 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4875, allocations: 0 / 0.7442 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4876, allocations: 64 kB / 0.7443 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.4877, allocations: 39.94 kB / 0.7443 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/0.4919, allocations: 1.815 MB / 0.7461 GB, free: 3.832 MB / 0.5606 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.01078/0.5026, allocations: 9.004 MB / 0.7549 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003797/0.5065, allocations: 1.189 MB / 0.7561 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009499/0.5074, allocations: 465.3 kB / 0.7565 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.5085, allocations: 1.723 MB / 0.7582 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5085, allocations: 42.56 kB / 0.7582 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.577e-06/0.5085, allocations: 0 / 0.7582 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007748/0.5163, allocations: 2.327 MB / 0.7605 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5163, allocations: 89.05 kB / 0.7606 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.5197, allocations: 2.489 MB / 0.763 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/0.5198, allocations: 45.7 kB / 0.7631 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/0.5206, allocations: 1.041 MB / 0.7641 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.5208, allocations: 280.1 kB / 0.7643 GB, free: 32 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003971/0.5212, allocations: 250.7 kB / 0.7646 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5213, allocations: 349.9 kB / 0.7649 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.5229, allocations: 0.5881 MB / 0.7655 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.5247, allocations: 0.9675 MB / 0.7664 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/0.5274, allocations: 1.258 MB / 0.7677 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5274, allocations: 4 kB / 0.7677 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005724/0.5331, allocations: 2.047 MB / 0.7697 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5332, allocations: 8 kB / 0.7697 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5332, allocations: 8 kB / 0.7697 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.5346, allocations: 421.5 kB / 0.7701 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5358, allocations: 291.5 kB / 0.7704 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.5377, allocations: 1.499 MB / 0.7718 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/0.5403, allocations: 434 kB / 0.7722 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5404, allocations: 63.95 kB / 0.7723 GB, free: 7.539 MB / 0.5919 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.0007595/0.5412, allocations: 457.5 kB / 0.7727 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.5415, allocations: 252.8 kB / 0.773 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.5447, allocations: 1.499 MB / 0.7744 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.5448, allocations: 8 kB / 0.7744 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5448, allocations: 3.984 kB / 0.7745 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5448, allocations: 3.984 kB / 0.7745 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006511/0.5513, allocations: 3.58 MB / 0.778 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5513, allocations: 7.938 kB / 0.778 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.5519, allocations: 136.1 kB / 0.7781 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.5532, allocations: 417.1 kB / 0.7785 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.5533, allocations: 27.97 kB / 0.7785 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.5555, allocations: 1.57 MB / 0.78 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5556, allocations: 7.938 kB / 0.7801 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.5608, allocations: 1.939 MB / 0.7819 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007789/0.5616, allocations: 485.6 kB / 0.7824 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.5618, allocations: 20 kB / 0.7824 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.5634, allocations: 171.7 kB / 0.7826 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.5635, allocations: 59.81 kB / 0.7827 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.5636, allocations: 43.95 kB / 0.7827 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002529/0.5661, allocations: 1.746 MB / 0.7844 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5662, allocations: 0 / 0.7844 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001595/0.5678, allocations: 0.675 MB / 0.7851 GB, free: 10.19 MB / 0.6075 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.006311/0.5741, allocations: 2.975 MB / 0.788 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.5777, allocations: 1.357 MB / 0.7893 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5777, allocations: 0 / 0.7893 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.5797, allocations: 0.6602 MB / 0.7899 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/0.5848, allocations: 1.264 MB / 0.7912 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/0.6229, allocations: 19.77 MB / 0.8105 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.6238, allocations: 1.497 MB / 0.8119 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001785/0.6256, allocations: 432.5 kB / 0.8124 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.6267, allocations: 0.8937 MB / 0.8132 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6267, allocations: 0 / 0.8132 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.37/3.997, allocations: 65.42 MB / 0.8771 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/3.997, allocations: 275.2 kB / 0.8774 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/7.129, allocations: 0 / 0.8774 GB, free: 197.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)