Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001365/0.001365, allocations: 193.6 kB / 16.14 MB, free: 6.723 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00263/0.00263, allocations: 277.7 kB / 290.2 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 95.5 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2213, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.06506/0.2864, allocations: 35.65 MB / 0.7276 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01983/0.3063, allocations: 8.125 MB / 0.7355 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.3076, allocations: 31.81 kB / 0.7356 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.3093, allocations: 342.1 kB / 0.7359 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.3147, allocations: 1.285 MB / 0.7371 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004691/0.3194, allocations: 1.003 MB / 0.7381 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005104/0.3245, allocations: 2.825 MB / 0.7409 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.3259, allocations: 0.5993 MB / 0.7415 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3282, allocations: 0.7739 MB / 0.7422 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.3295, allocations: 0.6223 MB / 0.7428 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.3297, allocations: 40 kB / 0.7429 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.3323, allocations: 0.7409 MB / 0.7436 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.3327, allocations: 171.3 kB / 0.7438 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007672/0.3335, allocations: 437.8 kB / 0.7442 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.3364, allocations: 1.496 MB / 0.7456 GB, free: 14.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3365, allocations: 0 / 0.7456 GB, free: 14.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3365, allocations: 0 / 0.7456 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3365, allocations: 4 kB / 0.7456 GB, free: 14.55 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002491/0.339, allocations: 1.221 MB / 0.7468 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.339, allocations: 11.97 kB / 0.7468 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.3418, allocations: 299.6 kB / 0.7471 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.3432, allocations: 0.7532 MB / 0.7479 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.3432, allocations: 45.25 kB / 0.7479 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3433, allocations: 59.91 kB / 0.748 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.3453, allocations: 0.7992 MB / 0.7487 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3453, allocations: 4 kB / 0.7488 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.3454, allocations: 24 kB / 0.7488 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.3455, allocations: 27.98 kB / 0.7488 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.3477, allocations: 0.6061 MB / 0.7494 GB, free: 10.56 MB / 0.545 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.005286/0.353, allocations: 3.946 MB / 0.7532 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3549, allocations: 458.7 kB / 0.7537 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/0.3558, allocations: 201.4 kB / 0.7539 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.3565, allocations: 0.5259 MB / 0.7544 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3566, allocations: 38.56 kB / 0.7544 GB, free: 4.988 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.993e-06/0.3566, allocations: 0 / 0.7544 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.003242/0.3598, allocations: 0.7801 MB / 0.7552 GB, free: 4.184 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.3599, allocations: 106.8 kB / 0.7553 GB, free: 4.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.3607, allocations: 0.5821 MB / 0.7559 GB, free: 3.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.3608, allocations: 33.7 kB / 0.7559 GB, free: 3.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.3611, allocations: 391.5 kB / 0.7563 GB, free: 3.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3612, allocations: 86.75 kB / 0.7563 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.3614, allocations: 106 kB / 0.7564 GB, free: 2.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3616, allocations: 374.7 kB / 0.7568 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009137/0.3625, allocations: 196.7 kB / 0.757 GB, free: 2.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.3636, allocations: 363.2 kB / 0.7573 GB, free: 1.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.3655, allocations: 0.5289 MB / 0.7579 GB, free: 1.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3655, allocations: 0 / 0.7579 GB, free: 1.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00226/0.3678, allocations: 0.6584 MB / 0.7585 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3678, allocations: 6.344 kB / 0.7585 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3679, allocations: 4 kB / 0.7585 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.3681, allocations: 60.83 kB / 0.7586 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.3689, allocations: 136.2 kB / 0.7587 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2824/0.6514, allocations: 0.6104 MB / 0.7593 GB, free: 68.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.6533, allocations: 111.4 kB / 0.7594 GB, free: 68.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6534, allocations: 25.45 kB / 0.7594 GB, free: 68.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005506/0.654, allocations: 223.2 kB / 0.7596 GB, free: 68.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.6543, allocations: 64.5 kB / 0.7597 GB, free: 68.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.6585, allocations: 0.6098 MB / 0.7603 GB, free: 68.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6586, allocations: 7.516 kB / 0.7603 GB, free: 68.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6586, allocations: 1.406 kB / 0.7603 GB, free: 68.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003354/0.6619, allocations: 0.6972 MB / 0.761 GB, free: 67.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.6672, allocations: 1.285 MB / 0.7622 GB, free: 67.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.6672, allocations: 2.469 kB / 0.7622 GB, free: 67.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.6683, allocations: 84.33 kB / 0.7623 GB, free: 67.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.6687, allocations: 54.88 kB / 0.7624 GB, free: 67.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.6687, allocations: 21.92 kB / 0.7624 GB, free: 67.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.6693, allocations: 0.6117 MB / 0.763 GB, free: 66.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6693, allocations: 5.625 kB / 0.763 GB, free: 66.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/0.6746, allocations: 0.8923 MB / 0.7639 GB, free: 66.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.6751, allocations: 207.7 kB / 0.7641 GB, free: 66.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.6753, allocations: 7.719 kB / 0.7641 GB, free: 66.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.6769, allocations: 80 kB / 0.7641 GB, free: 66.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.677, allocations: 27.81 kB / 0.7642 GB, free: 66.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6771, allocations: 25.48 kB / 0.7642 GB, free: 66.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001009/0.6782, allocations: 480.6 kB / 0.7647 GB, free: 66.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.373e-06/0.6782, allocations: 0 / 0.7647 GB, free: 66.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00149/0.6797, allocations: 271.8 kB / 0.7649 GB, free: 66.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009681/0.6807, allocations: 304.1 kB / 0.7652 GB, free: 65.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003619/0.6843, allocations: 493.5 kB / 0.7657 GB, free: 65.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6843, allocations: 0.7812 kB / 0.7657 GB, free: 65.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.6861, allocations: 234.3 kB / 0.7659 GB, free: 65.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/0.6898, allocations: 401.9 kB / 0.7663 GB, free: 65.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.6938, allocations: 1.531 MB / 0.7678 GB, free: 64.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.6943, allocations: 0.919 MB / 0.7687 GB, free: 64.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001165/0.6955, allocations: 154.6 kB / 0.7688 GB, free: 64.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.6958, allocations: 73.45 kB / 0.7689 GB, free: 64.1 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.6958, allocations: 0.875 kB / 0.7689 GB, free: 64.1 MB / 0.545 GB Notification: Performance of Templates: time 0.03651/0.7323, allocations: 15.53 MB / 0.7841 GB, free: 59.49 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)