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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8041/0.8041, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001187, allocations: 180.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.1 MB / 404.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001162, allocations: 91.42 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.002e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 76.76 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.988/7.17, allocations: 2.396 GB / 3.024 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/7.171, allocations: 84.77 kB / 3.024 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.868/10.04, allocations: 0.7733 GB / 3.797 GB, free: 95.41 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.694e-06/10.04, allocations: 0 / 3.797 GB, free: 95.41 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001374/10.04, allocations: 31.86 kB / 3.797 GB, free: 95.41 MB / 0.6667 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.004695/10.04, allocations: 1.522 MB / 3.799 GB, free: 94.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/10.04, allocations: 12.53 kB / 3.799 GB, free: 94.56 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/10.04, allocations: 112.8 kB / 3.799 GB, free: 94.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/10.05, allocations: 439.8 kB / 3.799 GB, free: 94.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/10.05, allocations: 1.035 MB / 3.8 GB, free: 94.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006185/10.05, allocations: 195.1 kB / 3.801 GB, free: 94.11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/10.05, allocations: 76.44 kB / 3.801 GB, free: 94.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/10.05, allocations: 0.966 MB / 3.802 GB, free: 94 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/10.05, allocations: 3.906 kB / 3.802 GB, free: 94 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/10.05, allocations: 25.97 kB / 3.802 GB, free: 94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/10.05, allocations: 38.34 kB / 3.802 GB, free: 94 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/10.05, allocations: 0.906 MB / 3.802 GB, free: 93.99 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.006678/10.06, allocations: 4.13 MB / 3.807 GB, free: 92.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/10.06, allocations: 0.5983 MB / 3.807 GB, free: 92.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/10.06, allocations: 329.7 kB / 3.807 GB, free: 92.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/10.06, allocations: 0.6378 MB / 3.808 GB, free: 91.44 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009608/10.06, allocations: 441.8 kB / 3.808 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=54): time 3.657e-06/10.06, allocations: 0 / 3.808 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54): time 0.002037/10.06, allocations: 0.7666 MB / 3.809 GB, free: 91.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/10.06, allocations: 62.02 kB / 3.809 GB, free: 91.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008978/10.07, allocations: 0.7208 MB / 3.81 GB, free: 91.07 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/10.07, allocations: 35.7 kB / 3.81 GB, free: 91.04 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/10.07, allocations: 441 kB / 3.81 GB, free: 90.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/10.07, allocations: 189.7 kB / 3.811 GB, free: 90.76 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/10.07, allocations: 14.38 kB / 3.811 GB, free: 90.76 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/10.07, allocations: 324.1 kB / 3.811 GB, free: 90.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/10.07, allocations: 261.9 kB / 3.811 GB, free: 90.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/10.07, allocations: 408.1 kB / 3.812 GB, free: 90.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/10.07, allocations: 309.3 kB / 3.812 GB, free: 90.28 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/10.07, allocations: 0 / 3.812 GB, free: 90.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001254/10.07, allocations: 0.7783 MB / 3.813 GB, free: 90.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/10.07, allocations: 0.7339 MB / 3.813 GB, free: 89.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/10.07, allocations: 0 / 3.813 GB, free: 89.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/10.07, allocations: 3.219 kB / 3.813 GB, free: 89.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/10.07, allocations: 402.3 kB / 3.814 GB, free: 89.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/10.07, allocations: 1.295 MB / 3.815 GB, free: 88.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/10.07, allocations: 203.8 kB / 3.815 GB, free: 88.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/10.07, allocations: 29.44 kB / 3.815 GB, free: 88.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/10.07, allocations: 6.625 kB / 3.815 GB, free: 88.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/10.08, allocations: 0.6546 MB / 3.816 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/10.08, allocations: 3.594 kB / 3.816 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/10.08, allocations: 6.906 kB / 3.816 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/10.08, allocations: 225.6 kB / 3.816 GB, free: 88.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/10.08, allocations: 3.031 kB / 3.816 GB, free: 88.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/10.08, allocations: 187.1 kB / 3.816 GB, free: 88.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/10.08, allocations: 29.73 kB / 3.816 GB, free: 88.07 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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.0002171/10.08, allocations: 147.9 kB / 3.816 GB, free: 87.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/10.08, allocations: 96.53 kB / 3.817 GB, free: 87.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/10.08, allocations: 0.8116 MB / 3.817 GB, free: 87.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/10.08, allocations: 6.781 kB / 3.817 GB, free: 87.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/10.08, allocations: 6.438 kB / 3.817 GB, free: 87.83 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/10.08, allocations: 0 / 3.817 GB, free: 87.83 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/10.08, allocations: 1.947 MB / 3.819 GB, free: 87.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/10.08, allocations: 0 / 3.819 GB, free: 87.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/10.08, allocations: 413.6 kB / 3.82 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/10.08, allocations: 3.75 kB / 3.82 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/10.08, allocations: 25.22 kB / 3.82 GB, free: 87.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/10.09, allocations: 2.992 MB / 3.823 GB, free: 84.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/10.09, allocations: 3.938 kB / 3.823 GB, free: 84.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/10.09, allocations: 0.9689 MB / 3.824 GB, free: 84.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/10.09, allocations: 286.6 kB / 3.824 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/10.09, allocations: 11.12 kB / 3.824 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/10.09, allocations: 161.4 kB / 3.824 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/10.09, allocations: 56.44 kB / 3.824 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/10.09, allocations: 35.75 kB / 3.824 GB, free: 84.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007693/10.09, allocations: 0.5565 MB / 3.825 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.8e-07/10.09, allocations: 0 / 3.825 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002006/10.09, allocations: 0.6225 MB / 3.825 GB, free: 84.01 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * 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.003914/10.1, allocations: 3.681 MB / 3.829 GB, free: 81.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003153/10.1, allocations: 1.313 MB / 3.83 GB, free: 81.24 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/10.1, allocations: 4 kB / 3.83 GB, free: 81.23 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/10.1, allocations: 0.5611 MB / 3.831 GB, free: 81.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/10.11, allocations: 456.6 kB / 3.831 GB, free: 80.96 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/10.11, allocations: 1.498 MB / 3.833 GB, free: 80.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/10.11, allocations: 1.056 MB / 3.834 GB, free: 79.54 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001548/10.11, allocations: 342.4 kB / 3.834 GB, free: 79.45 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/10.11, allocations: 351.8 kB / 3.834 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.873e-06/10.11, allocations: 0 / 3.834 GB, free: 79.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08737/10.2, allocations: 55.69 MB / 3.889 GB, free: 30.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/10.2, allocations: 250.2 kB / 3.889 GB, free: 30.03 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/14.28, allocations: 0 / 3.889 GB, free: 30.03 MB / 0.6667 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)