Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009703/0.0009703, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 83.4 MB / 0.5973 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5666/0.7626, allocations: 166.8 MB / 0.7602 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.7746, allocations: 7.057 MB / 0.7671 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.7764, allocations: 35.69 kB / 0.7671 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.7794, allocations: 0.6221 MB / 0.7677 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.7864, allocations: 1.789 MB / 0.7695 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.7902, allocations: 1.157 MB / 0.7706 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.794, allocations: 1.551 MB / 0.7721 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.7953, allocations: 0.7581 MB / 0.7729 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.7982, allocations: 1.086 MB / 0.7739 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.7991, allocations: 0.5484 MB / 0.7745 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.7994, allocations: 40 kB / 0.7745 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8023, allocations: 1.104 MB / 0.7756 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.8027, allocations: 239.1 kB / 0.7758 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.8032, allocations: 245.1 kB / 0.7761 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.8054, allocations: 1.48 MB / 0.7775 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8055, allocations: 3.938 kB / 0.7775 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8055, allocations: 0 / 0.7775 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.8055, allocations: 0 / 0.7775 GB, free: 3.512 MB / 0.5919 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.003535/0.809, allocations: 1.446 MB / 0.7789 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.8091, allocations: 12.03 kB / 0.7789 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.8093, allocations: 118.5 kB / 0.779 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.8116, allocations: 478.1 kB / 0.7795 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.8132, allocations: 0.8642 MB / 0.7803 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/0.8139, allocations: 185.9 kB / 0.7805 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.814, allocations: 68 kB / 0.7806 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.8164, allocations: 1.13 MB / 0.7817 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.8165, allocations: 3.953 kB / 0.7817 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.8166, allocations: 32 kB / 0.7817 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.8166, allocations: 33.98 kB / 0.7818 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.8198, allocations: 1.265 MB / 0.783 GB, free: 13.77 MB / 0.6075 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.006761/0.8266, allocations: 4.183 MB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.8292, allocations: 0.9498 MB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/0.8299, allocations: 486.1 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.8315, allocations: 0.6304 MB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/0.8315, allocations: 0 / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.004367/0.8359, allocations: 1.532 MB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.836, allocations: 81.67 kB / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.8372, allocations: 0.8279 MB / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/0.8373, allocations: 41.7 kB / 0.7915 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.8376, allocations: 428.3 kB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.8378, allocations: 197.1 kB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.8379, allocations: 12 kB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.838, allocations: 326 kB / 0.7924 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.8393, allocations: 456.8 kB / 0.7929 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.8406, allocations: 0.5712 MB / 0.7934 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.8419, allocations: 495.6 kB / 0.7939 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.842, allocations: 0 / 0.7939 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003018/0.845, allocations: 1.159 MB / 0.795 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.8453, allocations: 0.7305 MB / 0.7957 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.8453, allocations: 4 kB / 0.7957 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.8453, allocations: 4 kB / 0.7957 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8468, allocations: 257.3 kB / 0.796 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006752/0.8475, allocations: 1.188 MB / 0.7971 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8487, allocations: 191.4 kB / 0.7973 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.8488, allocations: 31.97 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8488, allocations: 4 kB / 0.7974 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/0.8516, allocations: 1.053 MB / 0.7984 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8517, allocations: 0.9844 kB / 0.7984 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.8517, allocations: 11.94 kB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8527, allocations: 223.9 kB / 0.7986 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8527, allocations: 4 kB / 0.7986 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.8539, allocations: 191.2 kB / 0.7988 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.854, allocations: 23.98 kB / 0.7988 GB, free: 12.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005618/0.8545, allocations: 346.8 kB / 0.7992 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.8547, allocations: 98.78 kB / 0.7993 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.8578, allocations: 1.213 MB / 0.8004 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.8578, allocations: 11.98 kB / 0.8004 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8578, allocations: 0 / 0.8004 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.8579, allocations: 7.922 kB / 0.8005 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/0.8626, allocations: 2.405 MB / 0.8028 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.8626, allocations: 4 kB / 0.8028 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8636, allocations: 217.3 kB / 0.803 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.8636, allocations: 8 kB / 0.803 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.8637, allocations: 19.98 kB / 0.803 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006103/0.8643, allocations: 1.191 MB / 0.8042 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.8643, allocations: 4 kB / 0.8042 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.8674, allocations: 1.423 MB / 0.8056 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.8679, allocations: 295.6 kB / 0.8059 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.868, allocations: 12 kB / 0.8059 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8691, allocations: 163.7 kB / 0.806 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.8693, allocations: 56.36 kB / 0.8061 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.8693, allocations: 31.97 kB / 0.8061 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007568/0.8701, allocations: 0.582 MB / 0.8067 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8701, allocations: 0 / 0.8067 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001305/0.8714, allocations: 487 kB / 0.8072 GB, free: 4.082 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004057/0.8755, allocations: 2.92 MB / 0.81 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004758/0.8803, allocations: 1.747 MB / 0.8117 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/0.8803, allocations: 4 kB / 0.8117 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.882, allocations: 0.5964 MB / 0.8123 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.8844, allocations: 455.8 kB / 0.8127 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.8901, allocations: 3.82 MB / 0.8165 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.8907, allocations: 1.066 MB / 0.8175 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001239/0.892, allocations: 285.8 kB / 0.8178 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.8925, allocations: 355.3 kB / 0.8181 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.8925, allocations: 4 kB / 0.8181 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.9414, allocations: 26.74 MB / 0.8442 GB, free: 14.38 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.9416, allocations: 283.9 kB / 0.8445 GB, free: 14.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.413, allocations: 0 / 0.8445 GB, free: 14.02 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: