Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_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.001851/0.001851, allocations: 108 kB / 15.61 MB, free: 148 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.002151/0.002152, allocations: 195.6 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 298.5 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5073 GB, free: 4.605 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 101.7 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1513, allocations: 89.15 MB / 0.6936 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3748/0.5262, allocations: 132.2 MB / 0.8227 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03325/0.5594, allocations: 23.24 MB / 0.8454 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.5638, allocations: 124.3 kB / 0.8455 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004224/0.5681, allocations: 1.489 MB / 0.8469 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.5792, allocations: 4.091 MB / 0.8509 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005513/0.5847, allocations: 2.155 MB / 0.853 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008376/0.5931, allocations: 6.512 MB / 0.8594 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0036/0.5967, allocations: 2.351 MB / 0.8617 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005998/0.6027, allocations: 2.742 MB / 0.8644 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.6062, allocations: 1.88 MB / 0.8662 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006051/0.6068, allocations: 247.9 kB / 0.8664 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.6115, allocations: 1.934 MB / 0.8683 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007774/0.6123, allocations: 0.5915 MB / 0.8689 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.6146, allocations: 1.458 MB / 0.8703 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.6211, allocations: 4.308 MB / 0.8745 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6211, allocations: 4 kB / 0.8745 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6211, allocations: 0 / 0.8745 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.221e-05/0.6212, allocations: 0 / 0.8745 GB, free: 7.812 MB / 0.5919 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.005841/0.6271, allocations: 3.164 MB / 0.8776 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.6271, allocations: 15.97 kB / 0.8777 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/0.6274, allocations: 220 kB / 0.8779 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.632, allocations: 0.836 MB / 0.8787 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/0.6364, allocations: 2.202 MB / 0.8808 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.6374, allocations: 290.8 kB / 0.8811 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.6377, allocations: 167.9 kB / 0.8813 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.6421, allocations: 1.934 MB / 0.8832 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.6422, allocations: 3.938 kB / 0.8832 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.6423, allocations: 60 kB / 0.8832 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.6424, allocations: 43.94 kB / 0.8833 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/0.6477, allocations: 1.815 MB / 0.885 GB, free: 12.83 MB / 0.6075 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.01407/0.6617, allocations: 9.047 MB / 0.8939 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.6664, allocations: 1.196 MB / 0.895 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.6677, allocations: 466.2 kB / 0.8955 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.6692, allocations: 1.722 MB / 0.8972 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6692, allocations: 46.31 kB / 0.8972 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.6693, allocations: 0 / 0.8972 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009635/0.6789, allocations: 2.321 MB / 0.8995 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.679, allocations: 89.11 kB / 0.8996 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/0.6834, allocations: 2.508 MB / 0.902 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.6836, allocations: 45.7 kB / 0.9021 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.6846, allocations: 1.041 MB / 0.9031 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.685, allocations: 264.2 kB / 0.9033 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.6855, allocations: 262.5 kB / 0.9036 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6856, allocations: 349.9 kB / 0.9039 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.6877, allocations: 0.5842 MB / 0.9045 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.6901, allocations: 0.966 MB / 0.9054 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.6936, allocations: 1.268 MB / 0.9067 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.6936, allocations: 4 kB / 0.9067 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007389/0.701, allocations: 2.036 MB / 0.9086 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.701, allocations: 19.91 kB / 0.9087 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.7011, allocations: 8 kB / 0.9087 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.7028, allocations: 425.2 kB / 0.9091 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7042, allocations: 291.5 kB / 0.9094 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.7067, allocations: 1.499 MB / 0.9108 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.7097, allocations: 386.6 kB / 0.9112 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.7099, allocations: 63.95 kB / 0.9113 GB, free: 0.5078 MB / 0.6231 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.0008845/0.7108, allocations: 453.5 kB / 0.9117 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.7113, allocations: 252.9 kB / 0.9119 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.7154, allocations: 1.501 MB / 0.9134 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.7154, allocations: 12 kB / 0.9134 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7154, allocations: 0 / 0.9134 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.7154, allocations: 7.969 kB / 0.9134 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.7236, allocations: 3.614 MB / 0.9169 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.7237, allocations: 0 / 0.9169 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.7244, allocations: 136.2 kB / 0.9171 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.726, allocations: 413.2 kB / 0.9175 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.7261, allocations: 27.97 kB / 0.9175 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.729, allocations: 1.567 MB / 0.919 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.7291, allocations: 8.031 kB / 0.919 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/0.7359, allocations: 1.927 MB / 0.9209 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.7374, allocations: 489.6 kB / 0.9214 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/0.7381, allocations: 23.91 kB / 0.9214 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/0.7403, allocations: 143.8 kB / 0.9215 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7405, allocations: 63.78 kB / 0.9216 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.7407, allocations: 47.97 kB / 0.9216 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004005/0.7447, allocations: 1.757 MB / 0.9234 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.425e-06/0.7447, allocations: 0 / 0.9234 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002506/0.7472, allocations: 0.6905 MB / 0.924 GB, free: 3.125 MB / 0.6387 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.008455/0.7557, allocations: 2.993 MB / 0.927 GB, free: 72 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004938/0.7606, allocations: 1.4 MB / 0.9283 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.7607, allocations: 4 kB / 0.9283 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.7633, allocations: 0.6567 MB / 0.929 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006687/0.77, allocations: 1.346 MB / 0.9303 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04246/0.8125, allocations: 19.19 MB / 0.949 GB, free: 8.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.8139, allocations: 1.49 MB / 0.9505 GB, free: 6.488 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002159/0.8161, allocations: 431.9 kB / 0.9509 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.8175, allocations: 0.9015 MB / 0.9518 GB, free: 5.164 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.8175, allocations: 0 / 0.9518 GB, free: 5.164 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.9478, allocations: 68.17 MB / 1.018 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.91, allocations: 8.062 kB / 1.018 GB, free: 1.891 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)