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.001157/0.001157, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001251/0.001251, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6981/0.6981, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.61 kB / 0.5572 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5607/0.7164, allocations: 132.2 MB / 0.7607 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03283/0.7492, allocations: 23.21 MB / 0.7833 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.7546, allocations: 123.2 kB / 0.7834 GB, free: 28.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.7591, allocations: 1.496 MB / 0.7849 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.7731, allocations: 4.098 MB / 0.7889 GB, free: 28.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.7795, allocations: 2.169 MB / 0.791 GB, free: 27.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009639/0.7892, allocations: 6.532 MB / 0.7974 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.7928, allocations: 2.352 MB / 0.7997 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.7996, allocations: 2.804 MB / 0.8024 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.8035, allocations: 1.88 MB / 0.8043 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007416/0.8043, allocations: 248.5 kB / 0.8045 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005622/0.8099, allocations: 1.935 MB / 0.8064 GB, free: 20.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007183/0.8106, allocations: 0.5946 MB / 0.807 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002797/0.8134, allocations: 1.45 MB / 0.8084 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008593/0.822, allocations: 4.358 MB / 0.8127 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.8221, allocations: 0 / 0.8127 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8221, allocations: 0 / 0.8127 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.422e-05/0.8222, allocations: 0 / 0.8127 GB, free: 16.34 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.005953/0.8281, allocations: 3.168 MB / 0.8157 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8282, allocations: 9.438 kB / 0.8158 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.8284, allocations: 227.3 kB / 0.816 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.8327, allocations: 0.8394 MB / 0.8168 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.8372, allocations: 2.32 MB / 0.8191 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.8373, allocations: 127.6 kB / 0.8192 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.8376, allocations: 157.9 kB / 0.8193 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.8412, allocations: 1.925 MB / 0.8212 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.8412, allocations: 8 kB / 0.8212 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.8413, allocations: 60 kB / 0.8213 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.8414, allocations: 47.88 kB / 0.8213 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/0.8453, allocations: 1.78 MB / 0.8231 GB, free: 7.863 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.01114/0.8565, allocations: 8.963 MB / 0.8318 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.8608, allocations: 1.189 MB / 0.833 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.8619, allocations: 468.6 kB / 0.8334 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.8631, allocations: 1.717 MB / 0.8351 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.8631, allocations: 42.56 kB / 0.8351 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.729e-06/0.8631, allocations: 0 / 0.8351 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009138/0.8722, allocations: 2.331 MB / 0.8374 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.8723, allocations: 88.86 kB / 0.8375 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/0.8774, allocations: 2.489 MB / 0.8399 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.8777, allocations: 53.64 kB / 0.84 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.8787, allocations: 1.038 MB / 0.841 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.8791, allocations: 274.6 kB / 0.8413 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.8797, allocations: 254.6 kB / 0.8415 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8798, allocations: 345.9 kB / 0.8418 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.8816, allocations: 0.5686 MB / 0.8424 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.8838, allocations: 0.9616 MB / 0.8433 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.8869, allocations: 1.244 MB / 0.8445 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.8869, allocations: 7.938 kB / 0.8445 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006942/0.8939, allocations: 2.016 MB / 0.8465 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.8939, allocations: 8 kB / 0.8465 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.894, allocations: 8 kB / 0.8465 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.8957, allocations: 421.8 kB / 0.8469 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.897, allocations: 279.6 kB / 0.8472 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.8993, allocations: 1.51 MB / 0.8487 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.9023, allocations: 366 kB / 0.849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.9026, allocations: 63.97 kB / 0.8491 GB, free: 11.85 MB / 0.6075 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.001204/0.9038, allocations: 463.5 kB / 0.8495 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.9048, allocations: 248.9 kB / 0.8498 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.9092, allocations: 1.494 MB / 0.8512 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.9092, allocations: 16 kB / 0.8512 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.9092, allocations: 4 kB / 0.8512 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.9093, allocations: 3.984 kB / 0.8512 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.9195, allocations: 3.595 MB / 0.8548 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.9196, allocations: 7.938 kB / 0.8548 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.9203, allocations: 131.8 kB / 0.8549 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.922, allocations: 412 kB / 0.8553 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.9221, allocations: 27.98 kB / 0.8553 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.9248, allocations: 1.573 MB / 0.8568 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.9249, allocations: 4 kB / 0.8568 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/0.9315, allocations: 1.931 MB / 0.8587 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.9331, allocations: 493.5 kB / 0.8592 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007828/0.9339, allocations: 15.94 kB / 0.8592 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/0.9361, allocations: 143.8 kB / 0.8594 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.9363, allocations: 51.94 kB / 0.8594 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.9364, allocations: 47.89 kB / 0.8594 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003906/0.9403, allocations: 1.744 MB / 0.8612 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9403, allocations: 0 / 0.8612 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003179/0.9435, allocations: 0.6907 MB / 0.8618 GB, free: 14.55 MB / 0.6231 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.008211/0.9517, allocations: 2.995 MB / 0.8648 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004434/0.9562, allocations: 1.354 MB / 0.8661 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.9562, allocations: 4 kB / 0.8661 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.9587, allocations: 0.6578 MB / 0.8667 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007504/0.9662, allocations: 1.33 MB / 0.868 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03961/1.006, allocations: 16.66 MB / 0.8843 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.007, allocations: 1.486 MB / 0.8857 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002063/1.009, allocations: 428.6 kB / 0.8862 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/1.011, allocations: 0.8976 MB / 0.887 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of SimCode: time 1.183e-06/1.011, allocations: 4 kB / 0.887 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.123, allocations: 67.15 MB / 0.9526 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.85, allocations: 8.266 kB / 0.9526 GB, free: 1.879 MB / 0.7012 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)