Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.00139/0.00139, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 281.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4405, allocations: 86.97 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.626/1.066, allocations: 199.9 MB / 0.9623 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.078, allocations: 7.658 MB / 0.9698 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/1.08, allocations: 41.66 kB / 0.9698 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/1.082, allocations: 0.7094 MB / 0.9705 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005921/1.088, allocations: 2.109 MB / 0.9726 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/1.091, allocations: 1.137 MB / 0.9737 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005429/1.097, allocations: 2.689 MB / 0.9763 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/1.099, allocations: 0.9831 MB / 0.9773 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/1.105, allocations: 1.61 MB / 0.9788 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/1.107, allocations: 0.8174 MB / 0.9796 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004978/1.108, allocations: 106.5 kB / 0.9797 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006412/1.114, allocations: 1.842 MB / 0.9815 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006926/1.115, allocations: 331.3 kB / 0.9819 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/1.117, allocations: 0.6119 MB / 0.9825 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00558/1.123, allocations: 2.159 MB / 0.9846 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.123, allocations: 0 / 0.9846 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/1.123, allocations: 0 / 0.9846 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.213e-05/1.123, allocations: 5.031 kB / 0.9846 GB, free: 1.609 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.007657/1.13, allocations: 1.661 MB / 0.9862 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/1.13, allocations: 8.844 kB / 0.9862 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/1.135, allocations: 435.2 kB / 0.9866 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/1.138, allocations: 0.9607 MB / 0.9876 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/1.138, allocations: 56.12 kB / 0.9876 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/1.139, allocations: 75.91 kB / 0.9877 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/1.143, allocations: 1.082 MB / 0.9887 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.143, allocations: 0.9375 kB / 0.9887 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/1.143, allocations: 30.42 kB / 0.9888 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/1.143, allocations: 32.09 kB / 0.9888 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/1.149, allocations: 1.176 MB / 0.9899 GB, free: 16.23 MB / 0.7325 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.01058/1.159, allocations: 4.09 MB / 0.9939 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/1.164, allocations: 0.8491 MB / 0.9948 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/1.166, allocations: 497.2 kB / 0.9952 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/1.167, allocations: 0.6327 MB / 0.9959 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/1.17, allocations: 0.5886 MB / 0.9964 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 4.859e-06/1.17, allocations: 0.9688 kB / 0.9964 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.007569/1.178, allocations: 1.377 MB / 0.9978 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.178, allocations: 88.92 kB / 0.9979 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.179, allocations: 0.8317 MB / 0.9987 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.18, allocations: 40.27 kB / 0.9987 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/1.18, allocations: 425.6 kB / 0.9991 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/1.18, allocations: 195.4 kB / 0.9993 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/1.181, allocations: 127.4 kB / 0.9994 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.181, allocations: 327.3 kB / 0.9997 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/1.183, allocations: 414.6 kB / 1 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/1.185, allocations: 0.5169 MB / 1.001 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/1.19, allocations: 0.8719 MB / 1.001 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.19, allocations: 1 kB / 1.001 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.005194/1.195, allocations: 1.05 MB / 1.003 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/1.195, allocations: 36.7 kB / 1.003 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.195, allocations: 1.938 kB / 1.003 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/1.195, allocations: 5.938 kB / 1.003 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.198, allocations: 226.9 kB / 1.003 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/1.199, allocations: 1.19 MB / 1.004 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.201, allocations: 138.5 kB / 1.004 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.201, allocations: 27.98 kB / 1.004 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002676/1.203, allocations: 0.6044 MB / 1.005 GB, free: 11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002394/1.206, allocations: 0.5101 MB / 1.005 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004155/1.21, allocations: 0.8639 MB / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/1.21, allocations: 0 / 1.006 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00524/1.215, allocations: 1.043 MB / 1.007 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/1.215, allocations: 35.14 kB / 1.007 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.215, allocations: 3.734 kB / 1.007 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.215, allocations: 10.69 kB / 1.007 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.217, allocations: 186.5 kB / 1.007 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.217, allocations: 9.5 kB / 1.007 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.219, allocations: 126.1 kB / 1.007 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.219, allocations: 27.41 kB / 1.007 GB, free: 10.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004193/1.22, allocations: 214.6 kB / 1.008 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.22, allocations: 102.8 kB / 1.008 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/1.225, allocations: 1.107 MB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.225, allocations: 6.312 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.225, allocations: 4 kB / 1.009 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008231/1.226, allocations: 282.1 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.226, allocations: 11.66 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/1.228, allocations: 99.77 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.228, allocations: 48.38 kB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005595/1.234, allocations: 1.146 MB / 1.01 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007263/1.241, allocations: 1.741 MB / 1.012 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002213/1.243, allocations: 471.4 kB / 1.013 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001205/1.244, allocations: 0.5818 MB / 1.013 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of Backend: time 1.823e-06/1.244, allocations: 0 / 1.013 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008325/1.253, allocations: 1.645 MB / 1.015 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of SimCode: time 0.005726/1.259, allocations: 2.141 MB / 1.017 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.07394/1.333, allocations: 26.4 MB / 1.043 GB, free: 7.852 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)