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.001013/0.001013, allocations: 100.8 kB / 16.27 MB, free: 5.93 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.001242/0.001242, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.235/1.235, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7118/0.7118, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3127, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1084/0.4212, allocations: 132.2 MB / 0.6964 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02843/0.4496, allocations: 23.22 MB / 0.719 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00342/0.4531, allocations: 123.2 kB / 0.7191 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.4565, allocations: 1.486 MB / 0.7206 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009425/0.4659, allocations: 4.096 MB / 0.7246 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.4706, allocations: 2.155 MB / 0.7267 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007444/0.478, allocations: 6.52 MB / 0.7331 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/0.4816, allocations: 2.353 MB / 0.7354 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00566/0.4873, allocations: 2.745 MB / 0.7381 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.4903, allocations: 1.871 MB / 0.7399 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006628/0.4909, allocations: 248 kB / 0.7401 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004278/0.4952, allocations: 1.93 MB / 0.742 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007451/0.496, allocations: 0.5992 MB / 0.7426 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.4981, allocations: 1.45 MB / 0.744 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.504, allocations: 4.312 MB / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5041, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5041, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.987e-05/0.5042, allocations: 0 / 0.7482 GB, free: 0.9766 MB / 0.5762 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.2325/0.7367, allocations: 3.163 MB / 0.7513 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7368, allocations: 10.38 kB / 0.7513 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.737, allocations: 219 kB / 0.7515 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.7418, allocations: 0.846 MB / 0.7523 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00459/0.7464, allocations: 2.2 MB / 0.7545 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.7475, allocations: 295.4 kB / 0.7548 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/0.748, allocations: 161.5 kB / 0.7549 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/0.7531, allocations: 1.938 MB / 0.7568 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.7531, allocations: 8.984 kB / 0.7568 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.7533, allocations: 62.59 kB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.7533, allocations: 36.78 kB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.7585, allocations: 1.814 MB / 0.7587 GB, free: 164 MB / 0.5762 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.01136/0.7699, allocations: 9.049 MB / 0.7675 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.7739, allocations: 1.192 MB / 0.7687 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.7749, allocations: 456.9 kB / 0.7691 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/0.7756, allocations: 1.732 MB / 0.7708 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.7756, allocations: 38.22 kB / 0.7709 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.7756, allocations: 0 / 0.7709 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008312/0.784, allocations: 2.329 MB / 0.7731 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.784, allocations: 84.23 kB / 0.7732 GB, free: 153 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.7874, allocations: 2.517 MB / 0.7757 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.7875, allocations: 44.83 kB / 0.7757 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.7881, allocations: 1.034 MB / 0.7767 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.7883, allocations: 270.3 kB / 0.777 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.7887, allocations: 259.3 kB / 0.7772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.7888, allocations: 346.8 kB / 0.7776 GB, free: 150 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.7904, allocations: 0.5924 MB / 0.7781 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.7923, allocations: 0.9658 MB / 0.7791 GB, free: 149 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.7951, allocations: 1.262 MB / 0.7803 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7951, allocations: 2.469 kB / 0.7803 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00614/0.8012, allocations: 2.049 MB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8013, allocations: 7.938 kB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.8013, allocations: 12.44 kB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.8028, allocations: 418.6 kB / 0.7827 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.804, allocations: 293 kB / 0.783 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.8057, allocations: 1.503 MB / 0.7845 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.8086, allocations: 396 kB / 0.7849 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.8088, allocations: 59.16 kB / 0.7849 GB, free: 145.4 MB / 0.5762 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.0006794/0.8095, allocations: 460.2 kB / 0.7854 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.8098, allocations: 246.4 kB / 0.7856 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.8129, allocations: 1.493 MB / 0.7871 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.813, allocations: 15.89 kB / 0.7871 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.813, allocations: 0 / 0.7871 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.813, allocations: 7.922 kB / 0.7871 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006244/0.8192, allocations: 3.597 MB / 0.7906 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.8193, allocations: 7.984 kB / 0.7906 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.8198, allocations: 128.2 kB / 0.7907 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.8211, allocations: 418.3 kB / 0.7911 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.8211, allocations: 27.97 kB / 0.7911 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.8233, allocations: 1.565 MB / 0.7927 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8233, allocations: 7.938 kB / 0.7927 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.8287, allocations: 1.936 MB / 0.7946 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007434/0.8294, allocations: 485.6 kB / 0.795 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/0.8297, allocations: 23.98 kB / 0.7951 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.8314, allocations: 147.7 kB / 0.7952 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.8315, allocations: 59.8 kB / 0.7953 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.8315, allocations: 39.97 kB / 0.7953 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002426/0.834, allocations: 1.769 MB / 0.797 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.834, allocations: 0 / 0.797 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001709/0.8357, allocations: 0.6789 MB / 0.7977 GB, free: 133.9 MB / 0.5762 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.006328/0.842, allocations: 3.011 MB / 0.8006 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003845/0.8459, allocations: 1.4 MB / 0.802 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8459, allocations: 0 / 0.802 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.8481, allocations: 0.6681 MB / 0.8026 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/0.8535, allocations: 1.335 MB / 0.8039 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/0.8826, allocations: 19.19 MB / 0.8227 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.8833, allocations: 1.486 MB / 0.8241 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001816/0.8851, allocations: 439.4 kB / 0.8246 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008677/0.886, allocations: 0.8976 MB / 0.8254 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.886, allocations: 0 / 0.8254 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/0.9689, allocations: 68.1 MB / 0.8919 GB, free: 36.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13, allocations: 4 kB / 0.8919 GB, free: 36.71 MB / 0.5762 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)