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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002439/0.002439, allocations: 281.1 kB / 309.8 MB, free: 3.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.059/1.059, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002916, allocations: 99.86 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5089, allocations: 95.34 MB / 0.8278 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1417/0.6506, allocations: 133.7 MB / 0.9583 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03705/0.6877, allocations: 23.25 MB / 0.981 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.6925, allocations: 166.6 kB / 0.9812 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.698, allocations: 1.549 MB / 0.9827 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.7116, allocations: 4.313 MB / 0.9869 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006768/0.7184, allocations: 2.185 MB / 0.989 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.7308, allocations: 6.529 MB / 0.9954 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.7345, allocations: 1.906 MB / 0.9973 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/0.7411, allocations: 2.843 MB / 1 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.7445, allocations: 1.966 MB / 1.002 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004835/0.745, allocations: 248 kB / 1.002 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.7493, allocations: 2.02 MB / 1.004 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.7499, allocations: 0.6185 MB / 1.005 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.7516, allocations: 1.454 MB / 1.006 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.7584, allocations: 4.448 MB / 1.011 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7584, allocations: 0 / 1.011 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7584, allocations: 0 / 1.011 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.321e-05/0.7585, allocations: 0 / 1.011 GB, free: 14.43 MB / 0.7481 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.005949/0.7644, allocations: 3.262 MB / 1.014 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.7645, allocations: 12.03 kB / 1.014 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.001e-05/0.7645, allocations: 39.23 kB / 1.014 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.7648, allocations: 216 kB / 1.014 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.7697, allocations: 0.8528 MB / 1.015 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.7754, allocations: 2.344 MB / 1.017 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.7756, allocations: 127 kB / 1.017 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/0.776, allocations: 160 kB / 1.017 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.7805, allocations: 1.919 MB / 1.019 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.7805, allocations: 7.938 kB / 1.019 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.7807, allocations: 63.94 kB / 1.019 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.7807, allocations: 44 kB / 1.019 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.7857, allocations: 1.78 MB / 1.021 GB, free: 3.367 MB / 0.7481 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.01486/0.8006, allocations: 8.995 MB / 1.03 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.8052, allocations: 1.152 MB / 1.031 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.8064, allocations: 425.4 kB / 1.031 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.8078, allocations: 1.723 MB / 1.033 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.8078, allocations: 42.56 kB / 1.033 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.8078, allocations: 0 / 1.033 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.009827/0.8176, allocations: 2.335 MB / 1.035 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.8177, allocations: 89.11 kB / 1.036 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/0.8222, allocations: 2.489 MB / 1.038 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.8224, allocations: 41.7 kB / 1.038 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.8234, allocations: 1.055 MB / 1.039 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.8237, allocations: 289.6 kB / 1.039 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.8242, allocations: 250.8 kB / 1.04 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.8244, allocations: 353.9 kB / 1.04 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.8263, allocations: 0.5686 MB / 1.04 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.8286, allocations: 0.9582 MB / 1.041 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.8319, allocations: 1.248 MB / 1.043 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8319, allocations: 0 / 1.043 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006969/0.8389, allocations: 2.021 MB / 1.045 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.8389, allocations: 8 kB / 1.045 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8389, allocations: 8 kB / 1.045 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.8406, allocations: 417.8 kB / 1.045 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8418, allocations: 279.5 kB / 1.045 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.8442, allocations: 1.514 MB / 1.047 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.8468, allocations: 358.6 kB / 1.047 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.847, allocations: 63.97 kB / 1.047 GB, free: 7.273 MB / 0.7794 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.0008835/0.8478, allocations: 469.6 kB / 1.048 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/0.8483, allocations: 266.2 kB / 1.048 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.8522, allocations: 1.485 MB / 1.049 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/0.8523, allocations: 11.98 kB / 1.049 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.8523, allocations: 4 kB / 1.049 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8523, allocations: 3.984 kB / 1.049 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/0.8604, allocations: 3.602 MB / 1.053 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.8604, allocations: 4 kB / 1.053 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.8611, allocations: 124.2 kB / 1.053 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.8627, allocations: 419.3 kB / 1.053 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/0.8627, allocations: 23.98 kB / 1.053 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.8656, allocations: 1.569 MB / 1.055 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.8656, allocations: 8 kB / 1.055 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/0.8722, allocations: 1.937 MB / 1.057 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.8736, allocations: 0.495 MB / 1.057 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.8739, allocations: 19.95 kB / 1.057 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.8756, allocations: 135.8 kB / 1.057 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.8757, allocations: 67.8 kB / 1.057 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/0.8758, allocations: 39.97 kB / 1.058 GB, free: 12.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003341/0.8792, allocations: 1.75 MB / 1.059 GB, free: 10.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8792, allocations: 0 / 1.059 GB, free: 10.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00223/0.8814, allocations: 0.6902 MB / 1.06 GB, free: 9.898 MB / 0.795 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.007899/0.8893, allocations: 2.974 MB / 1.063 GB, free: 6.844 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.8939, allocations: 1.315 MB / 1.064 GB, free: 5.531 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.8939, allocations: 8.188 kB / 1.064 GB, free: 5.523 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.8966, allocations: 0.6374 MB / 1.065 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006665/0.9032, allocations: 1.321 MB / 1.066 GB, free: 3.586 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/0.9399, allocations: 16.74 MB / 1.082 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.941, allocations: 1.493 MB / 1.084 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001749/0.9428, allocations: 440.5 kB / 1.084 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.944, allocations: 0.8938 MB / 1.085 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/0.944, allocations: 0 / 1.085 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4561/1.4, allocations: 66.07 MB / 1.15 GB, free: 284.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/18.28, allocations: 16.09 kB / 1.15 GB, free: 284.8 MB / 0.8731 GB " [Timeout remaining time 642] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.540254174964502] Failed to read output from testmodel.py, exit status != 0: 18.49740087700775 18.513678286 17.751583219 Calling exit ...