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.0007805/0.0007805, allocations: 98.97 kB / 16.02 MB, free: 80 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.0008978/0.0008978, allocations: 181.9 kB / 16.92 MB, free: 6.898 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.285/1.285, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.642/0.642, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3642/0.4889, allocations: 129.3 MB / 0.6863 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03331/0.5222, allocations: 23.06 MB / 0.7088 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005922/0.5282, allocations: 103.3 kB / 0.7089 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.5325, allocations: 1.204 MB / 0.7101 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.5432, allocations: 3.768 MB / 0.7138 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.5482, allocations: 1.964 MB / 0.7157 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009337/0.5576, allocations: 8.282 MB / 0.7238 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.5608, allocations: 1.907 MB / 0.7257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.5656, allocations: 2.302 MB / 0.7279 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.5686, allocations: 1.781 MB / 0.7296 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.5691, allocations: 88 kB / 0.7297 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.5732, allocations: 1.711 MB / 0.7314 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.5739, allocations: 441.7 kB / 0.7318 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.576, allocations: 1.295 MB / 0.7331 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.5813, allocations: 4.139 MB / 0.7371 GB, free: 1.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5813, allocations: 0 / 0.7371 GB, free: 1.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5813, allocations: 0 / 0.7371 GB, free: 1.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.5814, allocations: 0 / 0.7371 GB, free: 1.125 MB / 0.545 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.004516/0.5859, allocations: 2.663 MB / 0.7397 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.586, allocations: 16.02 kB / 0.7397 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.5862, allocations: 216 kB / 0.74 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.5906, allocations: 0.9571 MB / 0.7409 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/0.5945, allocations: 2.272 MB / 0.7431 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009569/0.5954, allocations: 326.8 kB / 0.7434 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.5957, allocations: 156 kB / 0.7436 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.5995, allocations: 1.981 MB / 0.7455 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.5995, allocations: 0 / 0.7455 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.5997, allocations: 64 kB / 0.7456 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.5997, allocations: 43.94 kB / 0.7456 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.6044, allocations: 1.901 MB / 0.7475 GB, free: 6.301 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.01118/0.6155, allocations: 9.082 MB / 0.7563 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.6198, allocations: 1.295 MB / 0.7576 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.6209, allocations: 482.2 kB / 0.7581 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.6219, allocations: 1.726 MB / 0.7597 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.622, allocations: 50.5 kB / 0.7598 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.224e-06/0.622, allocations: 0 / 0.7598 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008692/0.6307, allocations: 2.499 MB / 0.7622 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.6308, allocations: 85.11 kB / 0.7623 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/0.6345, allocations: 2.504 MB / 0.7648 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.6346, allocations: 49.69 kB / 0.7648 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.6354, allocations: 1.045 MB / 0.7658 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.6357, allocations: 272.1 kB / 0.7661 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.6358, allocations: 93.66 kB / 0.7662 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.636, allocations: 345.9 kB / 0.7665 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.6378, allocations: 0.6272 MB / 0.7671 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.6398, allocations: 1.014 MB / 0.7681 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.6429, allocations: 1.328 MB / 0.7694 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6429, allocations: 3.938 kB / 0.7694 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006608/0.6495, allocations: 2.192 MB / 0.7715 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6496, allocations: 10.5 kB / 0.7716 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6496, allocations: 8 kB / 0.7716 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.6512, allocations: 441.4 kB / 0.772 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.6524, allocations: 307.6 kB / 0.7723 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.6546, allocations: 1.555 MB / 0.7738 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.6578, allocations: 474 kB / 0.7742 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.658, allocations: 63.97 kB / 0.7743 GB, free: 9.348 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.001029/0.659, allocations: 453.5 kB / 0.7747 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.6596, allocations: 252.9 kB / 0.775 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.6634, allocations: 1.547 MB / 0.7765 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.6635, allocations: 11.98 kB / 0.7765 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6635, allocations: 4 kB / 0.7765 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.6635, allocations: 7.984 kB / 0.7765 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007737/0.6712, allocations: 3.677 MB / 0.7801 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.6713, allocations: 4.375 kB / 0.7801 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.6719, allocations: 139.8 kB / 0.7802 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.6734, allocations: 441.2 kB / 0.7807 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.6735, allocations: 23.98 kB / 0.7807 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.6761, allocations: 1.635 MB / 0.7823 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6761, allocations: 4 kB / 0.7823 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.6822, allocations: 2.076 MB / 0.7843 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6832, allocations: 0.513 MB / 0.7848 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/0.6837, allocations: 20 kB / 0.7848 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.6856, allocations: 187.8 kB / 0.785 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/0.6857, allocations: 63.8 kB / 0.7851 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.6858, allocations: 39.97 kB / 0.7851 GB, free: 14 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003145/0.689, allocations: 1.773 MB / 0.7868 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.689, allocations: 4 kB / 0.7868 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002394/0.6914, allocations: 0.6788 MB / 0.7875 GB, free: 11.54 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.0076/0.699, allocations: 3.122 MB / 0.7906 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004235/0.7032, allocations: 1.44 MB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.7033, allocations: 0 / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.7057, allocations: 0.7189 MB / 0.7927 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007631/0.7133, allocations: 1.32 MB / 0.794 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04366/0.757, allocations: 20.24 MB / 0.8137 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.7581, allocations: 1.486 MB / 0.8152 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001942/0.7601, allocations: 432.6 kB / 0.8156 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.7613, allocations: 0.9054 MB / 0.8165 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/0.7613, allocations: 4 kB / 0.8165 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8463/1.608, allocations: 68.78 MB / 0.8836 GB, free: 193 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.608, allocations: 274.5 kB / 0.8839 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/5.142, allocations: 3.938 kB / 0.8839 GB, free: 192.7 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)