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.001362/0.001362, allocations: 103.1 kB / 16.27 MB, free: 6.418 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.001309/0.001309, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002712/0.002713, allocations: 287.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.237/1.237, allocations: 178.6 MB / 0.5079 GB, free: 12.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 91.84 kB / 0.6071 GB, free: 9.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1894, allocations: 89.14 MB / 0.6942 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.3594/0.5488, allocations: 35.84 MB / 0.7292 GB, free: 31.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009626/0.5585, allocations: 8.004 MB / 0.737 GB, free: 25.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.5599, allocations: 34.56 kB / 0.737 GB, free: 25.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.561, allocations: 423.4 kB / 0.7374 GB, free: 25.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.5646, allocations: 1.403 MB / 0.7388 GB, free: 24.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.5672, allocations: 1.101 MB / 0.7399 GB, free: 24.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.5696, allocations: 2.136 MB / 0.7419 GB, free: 23.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.5704, allocations: 0.7173 MB / 0.7426 GB, free: 22.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.5725, allocations: 0.8903 MB / 0.7435 GB, free: 22.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.5732, allocations: 0.6111 MB / 0.7441 GB, free: 22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5733, allocations: 74.22 kB / 0.7442 GB, free: 22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.5749, allocations: 0.8051 MB / 0.745 GB, free: 21.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.5751, allocations: 206.5 kB / 0.7452 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.5755, allocations: 471.3 kB / 0.7456 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.5773, allocations: 1.517 MB / 0.7471 GB, free: 20.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5773, allocations: 0 / 0.7471 GB, free: 20.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5773, allocations: 0 / 0.7471 GB, free: 20.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.5773, allocations: 0 / 0.7471 GB, free: 20.76 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.001645/0.579, allocations: 1.234 MB / 0.7483 GB, free: 19.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.579, allocations: 10.5 kB / 0.7483 GB, free: 19.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.5813, allocations: 297.1 kB / 0.7486 GB, free: 19.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5824, allocations: 0.7318 MB / 0.7493 GB, free: 19.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5824, allocations: 44.22 kB / 0.7493 GB, free: 19.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.5825, allocations: 59.31 kB / 0.7494 GB, free: 19.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5841, allocations: 0.7999 MB / 0.7502 GB, free: 18.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5841, allocations: 0 / 0.7502 GB, free: 18.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.5842, allocations: 30.02 kB / 0.7502 GB, free: 18.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.5842, allocations: 17.72 kB / 0.7502 GB, free: 18.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.586, allocations: 0.6175 MB / 0.7508 GB, free: 18.7 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.00405/0.59, allocations: 3.957 MB / 0.7547 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.5917, allocations: 457.4 kB / 0.7551 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.5925, allocations: 204.4 kB / 0.7553 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/0.593, allocations: 0.5232 MB / 0.7558 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.593, allocations: 38.31 kB / 0.7559 GB, free: 14.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/0.593, allocations: 0 / 0.7559 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.002815/0.5958, allocations: 0.7775 MB / 0.7566 GB, free: 14.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5959, allocations: 105.3 kB / 0.7567 GB, free: 14.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.5965, allocations: 0.5911 MB / 0.7573 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.5966, allocations: 32.55 kB / 0.7573 GB, free: 13.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.5968, allocations: 387.8 kB / 0.7577 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.5969, allocations: 99.72 kB / 0.7578 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.597, allocations: 102.8 kB / 0.7579 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.5971, allocations: 372.2 kB / 0.7583 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.5978, allocations: 197.1 kB / 0.7584 GB, free: 13.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.5987, allocations: 361 kB / 0.7588 GB, free: 12.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.6002, allocations: 0.5201 MB / 0.7593 GB, free: 12.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6002, allocations: 2.438 kB / 0.7593 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001883/0.6021, allocations: 0.6583 MB / 0.7599 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6022, allocations: 11.34 kB / 0.76 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6022, allocations: 3.781 kB / 0.76 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.6024, allocations: 60.73 kB / 0.76 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.6031, allocations: 130 kB / 0.7601 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003995/0.6035, allocations: 0.6189 MB / 0.7607 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.6043, allocations: 79.8 kB / 0.7608 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.6044, allocations: 26.91 kB / 0.7608 GB, free: 11.75 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.0003424/0.6047, allocations: 229.7 kB / 0.7611 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.6049, allocations: 66.56 kB / 0.7611 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6069, allocations: 0.6183 MB / 0.7617 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6069, allocations: 6.656 kB / 0.7617 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6069, allocations: 7.688 kB / 0.7617 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/0.6087, allocations: 0.6922 MB / 0.7624 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.6114, allocations: 1.298 MB / 0.7637 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6114, allocations: 1.5 kB / 0.7637 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.6119, allocations: 77.25 kB / 0.7638 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.6121, allocations: 54.47 kB / 0.7638 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.6121, allocations: 19.19 kB / 0.7638 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003302/0.6125, allocations: 0.6168 MB / 0.7644 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6125, allocations: 6.375 kB / 0.7644 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.6152, allocations: 0.8933 MB / 0.7653 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.6155, allocations: 208.8 kB / 0.7655 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6156, allocations: 8.203 kB / 0.7655 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/0.6164, allocations: 57.12 kB / 0.7656 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.6165, allocations: 19.5 kB / 0.7656 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.6165, allocations: 35.73 kB / 0.7656 GB, free: 8.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000659/0.6172, allocations: 482.2 kB / 0.7661 GB, free: 8.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6172, allocations: 0 / 0.7661 GB, free: 8.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009347/0.6182, allocations: 272.8 kB / 0.7664 GB, free: 8.664 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.0006868/0.6189, allocations: 310.2 kB / 0.7666 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.6209, allocations: 0.5069 MB / 0.7671 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6209, allocations: 0 / 0.7671 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.6218, allocations: 231.7 kB / 0.7674 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.6236, allocations: 403 kB / 0.7677 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.6261, allocations: 1.311 MB / 0.769 GB, free: 7.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.6266, allocations: 0.9175 MB / 0.7699 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.6268, allocations: 80.34 kB / 0.77 GB, free: 6.719 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.6268, allocations: 0 / 0.77 GB, free: 6.719 MB / 0.545 GB Notification: Performance of Templates: time 0.02863/0.6554, allocations: 16.85 MB / 0.7865 GB, free: 2.809 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)