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.0007903/0.0007903, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008706/0.0008706, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8414/0.8414, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.00157/0.00157, allocations: 242.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6642/0.6642, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.801e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.2821/0.2821, allocations: 120.5 MB / 0.764 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.3037, allocations: 21.6 MB / 0.7851 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.3075, allocations: 174.5 kB / 0.7852 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.3105, allocations: 1.49 MB / 0.7867 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.3179, allocations: 4.474 MB / 0.7911 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.3211, allocations: 2.299 MB / 0.7933 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005523/0.3266, allocations: 6.681 MB / 0.7998 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3289, allocations: 1.817 MB / 0.8016 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.3341, allocations: 3.786 MB / 0.8053 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.336, allocations: 1.632 MB / 0.8069 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.3364, allocations: 248 kB / 0.8071 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.3391, allocations: 1.613 MB / 0.8087 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.3395, allocations: 0.6261 MB / 0.8093 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009833/0.3405, allocations: 0.9663 MB / 0.8103 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003698/0.3442, allocations: 4.397 MB / 0.8146 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3442, allocations: 4 kB / 0.8146 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3442, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.3443, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.6511 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.00317/0.3474, allocations: 3.142 MB / 0.8176 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3475, allocations: 9.938 kB / 0.8176 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.3476, allocations: 223 kB / 0.8179 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.3497, allocations: 0.8608 MB / 0.8187 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.3523, allocations: 2.272 MB / 0.8209 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.3524, allocations: 127 kB / 0.821 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3525, allocations: 156 kB / 0.8212 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.3548, allocations: 2.006 MB / 0.8231 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.3548, allocations: 0 / 0.8231 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.3549, allocations: 60 kB / 0.8232 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3549, allocations: 44 kB / 0.8232 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.3575, allocations: 1.78 MB / 0.825 GB, free: 3.855 MB / 0.6511 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.00624/0.3637, allocations: 6.476 MB / 0.8313 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.3659, allocations: 1.134 MB / 0.8324 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.3665, allocations: 425.4 kB / 0.8328 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.3667, allocations: 165.1 kB / 0.833 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3667, allocations: 46.5 kB / 0.833 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 2.004e-06/0.3667, allocations: 0 / 0.833 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.004208/0.371, allocations: 2.18 MB / 0.8352 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.371, allocations: 85.11 kB / 0.8352 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.3732, allocations: 2.504 MB / 0.8377 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.3733, allocations: 45.7 kB / 0.8377 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/0.3739, allocations: 1.047 MB / 0.8387 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.374, allocations: 281.5 kB / 0.839 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.3743, allocations: 254.7 kB / 0.8393 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.3744, allocations: 345.9 kB / 0.8396 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/0.3753, allocations: 0.5764 MB / 0.8401 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3766, allocations: 1.615 MB / 0.8417 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3782, allocations: 1.245 MB / 0.8429 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3782, allocations: 0 / 0.8429 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003203/0.3814, allocations: 2.03 MB / 0.8449 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3814, allocations: 8 kB / 0.8449 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3814, allocations: 12.03 kB / 0.8449 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008815/0.3823, allocations: 421.2 kB / 0.8453 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.3829, allocations: 279.6 kB / 0.8456 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3841, allocations: 1.509 MB / 0.8471 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3852, allocations: 358.5 kB / 0.8474 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.3853, allocations: 59.97 kB / 0.8475 GB, free: 12.08 MB / 0.6823 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.0004962/0.3858, allocations: 465.5 kB / 0.8479 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.386, allocations: 258.4 kB / 0.8482 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.388, allocations: 1.501 MB / 0.8496 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.388, allocations: 11.98 kB / 0.8497 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.388, allocations: 3.938 kB / 0.8497 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3881, allocations: 3.984 kB / 0.8497 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.3921, allocations: 3.303 MB / 0.8529 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3921, allocations: 4 kB / 0.8529 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3924, allocations: 132.2 kB / 0.853 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/0.3931, allocations: 417.1 kB / 0.8534 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.3931, allocations: 27.98 kB / 0.8534 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3944, allocations: 1.568 MB / 0.855 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3945, allocations: 7.969 kB / 0.855 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.3974, allocations: 1.948 MB / 0.8569 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.3979, allocations: 419.9 kB / 0.8573 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3981, allocations: 19.98 kB / 0.8573 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.3988, allocations: 131.8 kB / 0.8574 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.3989, allocations: 59.83 kB / 0.8575 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.3989, allocations: 39.97 kB / 0.8575 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001673/0.4006, allocations: 1.75 MB / 0.8592 GB, free: 15.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.4006, allocations: 0 / 0.8592 GB, free: 15.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00117/0.4018, allocations: 0.694 MB / 0.8599 GB, free: 15.12 MB / 0.698 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.003728/0.4055, allocations: 3.008 MB / 0.8628 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.4076, allocations: 1.311 MB / 0.8641 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4076, allocations: 0 / 0.8641 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.4087, allocations: 0.638 MB / 0.8647 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.4116, allocations: 1.322 MB / 0.866 GB, free: 8.809 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.4304, allocations: 16.54 MB / 0.8822 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.431, allocations: 0.9203 MB / 0.8831 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001017/0.432, allocations: 439.6 kB / 0.8835 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/0.4328, allocations: 0.9064 MB / 0.8844 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.4328, allocations: 0 / 0.8844 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2698/0.7026, allocations: 70.29 MB / 0.953 GB, free: 245.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.581/10.28, allocations: 4.609 kB / 0.953 GB, free: 245.3 MB / 0.7605 GB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 14.411898575723171] Failed to read output from testmodel.py, exit status != 0: 10.412619684822857 10.425291094 10.078753772 Calling exit ...