Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 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.00135/0.00135, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.84 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.6019, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1146/0.7165, allocations: 132.2 MB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.7435, allocations: 23.23 MB / 1.102 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.746, allocations: 123.2 kB / 1.102 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.7489, allocations: 1.487 MB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/0.757, allocations: 4.098 MB / 1.107 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.761, allocations: 2.149 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005907/0.7669, allocations: 6.51 MB / 1.116 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.7692, allocations: 2.369 MB / 1.118 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.7732, allocations: 2.74 MB / 1.121 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.775, allocations: 1.875 MB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.7753, allocations: 252 kB / 1.123 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.7786, allocations: 1.942 MB / 1.125 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.779, allocations: 0.5914 MB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.7802, allocations: 1.458 MB / 1.127 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.7841, allocations: 4.312 MB / 1.131 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7841, allocations: 8 kB / 1.131 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7841, allocations: 0 / 1.131 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.7841, allocations: 0 / 1.131 GB, free: 7.887 MB / 0.8887 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.004458/0.7886, allocations: 3.168 MB / 1.134 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7886, allocations: 12.03 kB / 1.134 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.7889, allocations: 227.8 kB / 1.134 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.7929, allocations: 0.8317 MB / 1.135 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.7962, allocations: 2.225 MB / 1.137 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008868/0.7971, allocations: 294.8 kB / 1.137 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.7973, allocations: 160 kB / 1.137 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.8008, allocations: 1.942 MB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.8008, allocations: 8 kB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.8009, allocations: 63.98 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.801, allocations: 40 kB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.8054, allocations: 1.811 MB / 1.141 GB, free: 12.88 MB / 0.9044 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.01009/0.8155, allocations: 9.062 MB / 1.15 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.8194, allocations: 1.201 MB / 1.151 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.8204, allocations: 453.4 kB / 1.152 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009569/0.8214, allocations: 1.73 MB / 1.153 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.8215, allocations: 42.5 kB / 1.153 GB, free: 15.38 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/0.8215, allocations: 0 / 1.153 GB, free: 15.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.007799/0.8293, allocations: 2.328 MB / 1.156 GB, free: 13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.8293, allocations: 85.11 kB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.8324, allocations: 2.524 MB / 1.158 GB, free: 10.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.8325, allocations: 45.7 kB / 1.158 GB, free: 10.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.8332, allocations: 1.034 MB / 1.159 GB, free: 9.258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.8334, allocations: 268.2 kB / 1.16 GB, free: 8.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.8338, allocations: 262.6 kB / 1.16 GB, free: 8.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.8339, allocations: 349.9 kB / 1.16 GB, free: 8.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.8355, allocations: 0.5842 MB / 1.161 GB, free: 7.797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.8374, allocations: 0.966 MB / 1.162 GB, free: 6.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.8402, allocations: 1.26 MB / 1.163 GB, free: 5.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8402, allocations: 8 kB / 1.163 GB, free: 5.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005744/0.8459, allocations: 2.044 MB / 1.165 GB, free: 3.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.846, allocations: 11.94 kB / 1.165 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.846, allocations: 12.03 kB / 1.165 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.8473, allocations: 423.1 kB / 1.165 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.8484, allocations: 283.6 kB / 1.166 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.8503, allocations: 1.514 MB / 1.167 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.8526, allocations: 394 kB / 1.167 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8527, allocations: 59.95 kB / 1.167 GB, free: 0.5195 MB / 0.92 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.0005643/0.8533, allocations: 461.5 kB / 1.168 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.8536, allocations: 249 kB / 1.168 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.8568, allocations: 1.494 MB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.8568, allocations: 12 kB / 1.17 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.8568, allocations: 4 kB / 1.17 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.8569, allocations: 15.89 kB / 1.17 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.8632, allocations: 3.592 MB / 1.173 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.8632, allocations: 4 kB / 1.173 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.8638, allocations: 136.1 kB / 1.173 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.865, allocations: 417.1 kB / 1.174 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.865, allocations: 23.98 kB / 1.174 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.8673, allocations: 1.575 MB / 1.175 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8673, allocations: 4 kB / 1.175 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/0.8725, allocations: 1.935 MB / 1.177 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.8731, allocations: 489.6 kB / 1.178 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.8734, allocations: 16 kB / 1.178 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.8749, allocations: 143.8 kB / 1.178 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.875, allocations: 67.8 kB / 1.178 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.8751, allocations: 35.97 kB / 1.178 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002364/0.8774, allocations: 1.769 MB / 1.18 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8775, allocations: 0 / 1.18 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00149/0.8789, allocations: 0.6905 MB / 1.18 GB, free: 3.129 MB / 0.9356 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.006746/0.8857, allocations: 3.02 MB / 1.183 GB, free: 48 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004284/0.89, allocations: 1.388 MB / 1.185 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.89, allocations: 0 / 1.185 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.8923, allocations: 0.664 MB / 1.185 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005829/0.8981, allocations: 1.339 MB / 1.187 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/0.9328, allocations: 19.06 MB / 1.205 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.9342, allocations: 1.486 MB / 1.207 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002071/0.9362, allocations: 440.5 kB / 1.207 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.9374, allocations: 0.9015 MB / 1.208 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.9374, allocations: 0 / 1.208 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.987/5.924, allocations: 68.18 MB / 1.274 GB, free: 262 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/19.2, allocations: 9.812 kB / 1.274 GB, free: 262 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)