Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.005289/0.00529, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001683/0.001683, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 293.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9631/0.9631, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003021/0.003021, allocations: 96.48 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2099, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5462/0.7561, allocations: 132.2 MB / 0.895 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.033/0.7892, allocations: 23.22 MB / 0.9177 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006344/0.7956, allocations: 127.2 kB / 0.9178 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.8007, allocations: 1.486 MB / 0.9193 GB, free: 6.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.8138, allocations: 4.105 MB / 0.9233 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006104/0.8199, allocations: 2.177 MB / 0.9254 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009476/0.8294, allocations: 6.549 MB / 0.9318 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003997/0.8334, allocations: 2.349 MB / 0.9341 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006639/0.84, allocations: 2.815 MB / 0.9368 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.8436, allocations: 1.889 MB / 0.9387 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009102/0.8445, allocations: 252 kB / 0.9389 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.8496, allocations: 1.942 MB / 0.9408 GB, free: 100 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.8507, allocations: 0.5955 MB / 0.9414 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.8534, allocations: 1.458 MB / 0.9428 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007777/0.8612, allocations: 4.393 MB / 0.9471 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.8612, allocations: 4 kB / 0.9471 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8613, allocations: 0 / 0.9471 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.8613, allocations: 0 / 0.9471 GB, free: 9.625 MB / 0.7012 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.005346/0.8666, allocations: 3.184 MB / 0.9502 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8667, allocations: 8.031 kB / 0.9502 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002438/0.867, allocations: 228 kB / 0.9504 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.8711, allocations: 0.8401 MB / 0.9513 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.8752, allocations: 2.315 MB / 0.9535 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.8753, allocations: 123 kB / 0.9536 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.8755, allocations: 163.9 kB / 0.9538 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.8793, allocations: 1.923 MB / 0.9557 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.8793, allocations: 4 kB / 0.9557 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.8795, allocations: 68 kB / 0.9557 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.8795, allocations: 40 kB / 0.9558 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.8838, allocations: 1.803 MB / 0.9575 GB, free: 14.7 MB / 0.7169 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.0128/0.8966, allocations: 8.993 MB / 0.9663 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.9006, allocations: 1.194 MB / 0.9675 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.9017, allocations: 462.6 kB / 0.9679 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.9029, allocations: 1.726 MB / 0.9696 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.9029, allocations: 46.48 kB / 0.9697 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/0.9029, allocations: 3.938 kB / 0.9697 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008414/0.9113, allocations: 2.34 MB / 0.972 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.9114, allocations: 85.11 kB / 0.972 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/0.9165, allocations: 2.524 MB / 0.9745 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.9166, allocations: 45.7 kB / 0.9745 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.9176, allocations: 1.045 MB / 0.9756 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.9179, allocations: 264.2 kB / 0.9758 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.9184, allocations: 254.6 kB / 0.9761 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9186, allocations: 345.9 kB / 0.9764 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.9202, allocations: 0.5764 MB / 0.977 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.9221, allocations: 0.9504 MB / 0.9779 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.925, allocations: 1.244 MB / 0.9791 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.925, allocations: 4 kB / 0.9791 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006361/0.9314, allocations: 2.024 MB / 0.9811 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9314, allocations: 8.625 kB / 0.9811 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.9314, allocations: 8 kB / 0.9811 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/0.9333, allocations: 0.4919 MB / 0.9816 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.9344, allocations: 283.6 kB / 0.9818 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.9365, allocations: 1.51 MB / 0.9833 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.9393, allocations: 366.1 kB / 0.9837 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.9395, allocations: 63.91 kB / 0.9837 GB, free: 2.406 MB / 0.7325 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.9405, allocations: 460.5 kB / 0.9842 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008465/0.9414, allocations: 252.9 kB / 0.9844 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.9453, allocations: 1.502 MB / 0.9859 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.9453, allocations: 15.98 kB / 0.9859 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9453, allocations: 4 kB / 0.9859 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9454, allocations: 3.984 kB / 0.9859 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008252/0.9536, allocations: 3.612 MB / 0.9894 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.9536, allocations: 4 kB / 0.9894 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.9543, allocations: 135.7 kB / 0.9896 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.9559, allocations: 491.5 kB / 0.99 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.956, allocations: 31.97 kB / 0.9901 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.9586, allocations: 1.577 MB / 0.9916 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.9586, allocations: 9.562 kB / 0.9916 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.9644, allocations: 1.943 MB / 0.9935 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.9658, allocations: 489.6 kB / 0.994 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006917/0.9665, allocations: 19.94 kB / 0.994 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/0.9684, allocations: 131.8 kB / 0.9941 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.9685, allocations: 59.92 kB / 0.9942 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9686, allocations: 39.97 kB / 0.9942 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003642/0.9722, allocations: 1.777 MB / 0.9959 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9723, allocations: 0 / 0.9959 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002291/0.9746, allocations: 0.6982 MB / 0.9966 GB, free: 4.922 MB / 0.7481 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007279/0.9818, allocations: 3.004 MB / 0.9996 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00396/0.9858, allocations: 1.349 MB / 1.001 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9858, allocations: 0 / 1.001 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.9881, allocations: 0.6715 MB / 1.002 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/0.9946, allocations: 1.327 MB / 1.003 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/1.029, allocations: 16.65 MB / 1.019 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/1.032, allocations: 1.493 MB / 1.021 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002275/1.034, allocations: 435.8 kB / 1.021 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.035, allocations: 0.9054 MB / 1.022 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.545e-06/1.035, allocations: 0 / 1.022 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.15, allocations: 67.6 MB / 1.088 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.05, allocations: 6.906 kB / 1.088 GB, free: 7.832 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)