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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7796/0.7796, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 190.7 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 107.2 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 279.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.89 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1075/0.3903, allocations: 131.3 MB / 0.8961 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3048/0.6951, allocations: 23.28 MB / 0.9189 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/0.6993, allocations: 113.4 kB / 0.919 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.7028, allocations: 1.209 MB / 0.9202 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009759/0.7126, allocations: 3.76 MB / 0.9238 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.7174, allocations: 1.992 MB / 0.9258 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.7276, allocations: 8.329 MB / 0.9339 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.7312, allocations: 1.976 MB / 0.9358 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.7363, allocations: 2.402 MB / 0.9382 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.7395, allocations: 1.87 MB / 0.94 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006473/0.7402, allocations: 119.4 kB / 0.9401 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/0.7451, allocations: 1.741 MB / 0.9418 GB, free: 37.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008973/0.7461, allocations: 495.7 kB / 0.9423 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.749, allocations: 1.327 MB / 0.9436 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.7559, allocations: 4.25 MB / 0.9477 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.756, allocations: 0 / 0.9477 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.71e-07/0.756, allocations: 0 / 0.9477 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001287/0.7561, allocations: 3.938 kB / 0.9477 GB, free: 36.14 MB / 0.5573 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.005493/0.7616, allocations: 3.188 MB / 0.9509 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.7616, allocations: 8.375 kB / 0.9509 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.7658, allocations: 0.8407 MB / 0.9517 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.7695, allocations: 2.29 MB / 0.9539 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008773/0.7704, allocations: 294.9 kB / 0.9542 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.7706, allocations: 156 kB / 0.9544 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.7741, allocations: 1.946 MB / 0.9563 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.7742, allocations: 4 kB / 0.9563 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.7743, allocations: 62.38 kB / 0.9563 GB, free: 30.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.7743, allocations: 37.81 kB / 0.9564 GB, free: 30.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.7787, allocations: 1.81 MB / 0.9581 GB, free: 29.77 MB / 0.5573 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.01017/0.7889, allocations: 9.027 MB / 0.9669 GB, free: 21.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003915/0.7929, allocations: 1.184 MB / 0.9681 GB, free: 20.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.7939, allocations: 456.1 kB / 0.9685 GB, free: 19.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008109/0.7947, allocations: 1.73 MB / 0.9702 GB, free: 17.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.7948, allocations: 42.55 kB / 0.9703 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/0.7948, allocations: 0 / 0.9703 GB, free: 17.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.008427/0.8032, allocations: 2.327 MB / 0.9725 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.8033, allocations: 85.11 kB / 0.9726 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.8068, allocations: 2.496 MB / 0.9751 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.8069, allocations: 53.64 kB / 0.9751 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006151/0.8076, allocations: 1.046 MB / 0.9761 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.8078, allocations: 269.2 kB / 0.9764 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.8082, allocations: 254.6 kB / 0.9766 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.8083, allocations: 353.9 kB / 0.977 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.81, allocations: 0.5764 MB / 0.9775 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.8119, allocations: 0.9777 MB / 0.9785 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.8147, allocations: 1.258 MB / 0.9797 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.8148, allocations: 7.938 kB / 0.9797 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00618/0.8209, allocations: 2.048 MB / 0.9817 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.821, allocations: 8.625 kB / 0.9817 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.821, allocations: 8 kB / 0.9817 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.8224, allocations: 425.1 kB / 0.9821 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.8236, allocations: 283.6 kB / 0.9824 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.8254, allocations: 1.514 MB / 0.9839 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8284, allocations: 438 kB / 0.9843 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8285, allocations: 59.97 kB / 0.9844 GB, free: 2.562 MB / 0.5573 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.0007313/0.8292, allocations: 457.5 kB / 0.9848 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.8296, allocations: 248.9 kB / 0.985 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.8328, allocations: 1.509 MB / 0.9865 GB, free: 348 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.8328, allocations: 15.98 kB / 0.9865 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8328, allocations: 0 / 0.9865 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8328, allocations: 3.984 kB / 0.9865 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.8403, allocations: 3.591 MB / 0.99 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.8403, allocations: 3.938 kB / 0.99 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.8409, allocations: 136.1 kB / 0.9902 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.8424, allocations: 413.2 kB / 0.9906 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.8425, allocations: 27.98 kB / 0.9906 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.845, allocations: 1.575 MB / 0.9921 GB, free: 10.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.845, allocations: 4 kB / 0.9921 GB, free: 10.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008246/0.8533, allocations: 3.519 MB / 0.9956 GB, free: 6.836 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/0.8543, allocations: 481.6 kB / 0.996 GB, free: 6.344 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.8545, allocations: 20.19 kB / 0.996 GB, free: 6.324 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.8563, allocations: 175.6 kB / 0.9962 GB, free: 6.152 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.8564, allocations: 63.8 kB / 0.9963 GB, free: 6.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.8565, allocations: 43.95 kB / 0.9963 GB, free: 6.047 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003062/0.8596, allocations: 1.754 MB / 0.998 GB, free: 4.289 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8596, allocations: 0 / 0.998 GB, free: 4.289 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002297/0.8619, allocations: 0.6983 MB / 0.9987 GB, free: 3.59 MB / 0.573 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.001143/0.8631, allocations: 0.5948 MB / 0.9993 GB, free: 3.027 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004287/0.8674, allocations: 1.35 MB / 1.001 GB, free: 1.684 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8674, allocations: 4 kB / 1.001 GB, free: 1.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.8698, allocations: 0.6602 MB / 1.001 GB, free: 1.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006159/0.8759, allocations: 1.28 MB / 1.003 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.8825, allocations: 4.77 MB / 1.007 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009571/0.8834, allocations: 1.509 MB / 1.009 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002043/0.8855, allocations: 431.9 kB / 1.009 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.886, allocations: 171.4 kB / 1.009 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.886, allocations: 0 / 1.009 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of Templates: time 0.07407/0.9601, allocations: 50.18 MB / 1.058 GB, free: 7.312 MB / 0.6355 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)