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.7737/0.7737, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001398, allocations: 163.5 kB / 164.6 MB, free: 11.62 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.8/1.8, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0009183/0.0009182, allocations: 91.11 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.038e-05, allocations: 2.969 kB / 0.5467 GB, free: 95.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1803, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.218/6.398, allocations: 2.395 GB / 3.017 GB, free: 34.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/6.399, allocations: 89.09 kB / 3.017 GB, free: 34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.828/9.226, allocations: 0.7662 GB / 3.783 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/9.226, allocations: 0 / 3.783 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001003/9.227, allocations: 31.98 kB / 3.783 GB, free: 14.68 MB / 0.6511 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.004405/9.231, allocations: 1.527 MB / 3.784 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/9.231, allocations: 12.03 kB / 3.784 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/9.233, allocations: 434.2 kB / 3.785 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/9.236, allocations: 1.043 MB / 3.786 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000617/9.236, allocations: 161.9 kB / 3.786 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/9.236, allocations: 44 kB / 3.786 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/9.238, allocations: 0.7576 MB / 3.787 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/9.239, allocations: 0.8114 MB / 3.788 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/9.239, allocations: 0 / 3.788 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/9.239, allocations: 7.953 kB / 3.788 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/9.239, allocations: 33.98 kB / 3.788 GB, free: 9.73 MB / 0.6511 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.005989/9.245, allocations: 4.019 MB / 3.792 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/9.246, allocations: 0.5549 MB / 3.792 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/9.246, allocations: 312.2 kB / 3.792 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/9.247, allocations: 0.6368 MB / 3.793 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/9.247, allocations: 396.4 kB / 3.793 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=54): time 4.439e-06/9.247, allocations: 4.047 kB / 3.793 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.001982/9.249, allocations: 0.7487 MB / 3.794 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/9.25, allocations: 55.84 kB / 3.794 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/9.25, allocations: 0.5551 MB / 3.795 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/9.25, allocations: 29.7 kB / 3.795 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/9.251, allocations: 451.8 kB / 3.795 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/9.251, allocations: 181.2 kB / 3.795 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/9.251, allocations: 0 / 3.795 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/9.251, allocations: 326 kB / 3.796 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/9.251, allocations: 261 kB / 3.796 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/9.252, allocations: 423.4 kB / 3.796 GB, free: 324 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/9.252, allocations: 325.9 kB / 3.797 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/9.252, allocations: 0 / 3.797 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001593/9.254, allocations: 0.7751 MB / 3.797 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004282/9.254, allocations: 0.8966 MB / 3.798 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/9.254, allocations: 7.938 kB / 3.798 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/9.254, allocations: 7.953 kB / 3.798 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/9.257, allocations: 415.5 kB / 3.799 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/9.259, allocations: 1.313 MB / 3.8 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/9.26, allocations: 171.5 kB / 3.8 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/9.26, allocations: 39.97 kB / 3.8 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/9.26, allocations: 7.953 kB / 3.8 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/9.262, allocations: 0.6376 MB / 3.801 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/9.262, allocations: 4 kB / 3.801 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/9.262, allocations: 4 kB / 3.801 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/9.263, allocations: 223.9 kB / 3.801 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/9.263, allocations: 11.98 kB / 3.801 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/9.264, allocations: 163.5 kB / 3.801 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/9.264, allocations: 31.97 kB / 3.801 GB, free: 11.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002633/9.264, allocations: 124.7 kB / 3.801 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001438/9.266, allocations: 0.6902 MB / 3.802 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/9.266, allocations: 82.97 kB / 3.802 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/9.268, allocations: 0.8271 MB / 3.803 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/9.268, allocations: 4 kB / 3.803 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/9.268, allocations: 4 kB / 3.803 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/9.268, allocations: 3.984 kB / 3.803 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/9.272, allocations: 1.874 MB / 3.805 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/9.272, allocations: 256 / 3.805 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/9.275, allocations: 411.5 kB / 3.805 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/9.275, allocations: 8 kB / 3.805 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/9.275, allocations: 11.98 kB / 3.805 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/9.28, allocations: 2.903 MB / 3.808 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/9.28, allocations: 7.891 kB / 3.808 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/9.282, allocations: 0.9871 MB / 3.809 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/9.283, allocations: 271.7 kB / 3.809 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/9.283, allocations: 4 kB / 3.809 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/9.284, allocations: 151.8 kB / 3.809 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/9.285, allocations: 60.28 kB / 3.809 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/9.285, allocations: 31.97 kB / 3.809 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007199/9.285, allocations: 439.2 kB / 3.81 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.763e-06/9.285, allocations: 0 / 3.81 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00234/9.288, allocations: 0.5847 MB / 3.81 GB, free: 1.301 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.5303/9.818, allocations: 3.854 MB / 3.814 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003934/9.822, allocations: 1.301 MB / 3.815 GB, free: 99.97 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/9.822, allocations: 3.25 kB / 3.815 GB, free: 99.97 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/9.824, allocations: 0.5548 MB / 3.816 GB, free: 99.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/9.827, allocations: 351.7 kB / 3.816 GB, free: 99.96 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/9.831, allocations: 1.443 MB / 3.818 GB, free: 99.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008323/9.832, allocations: 1.06 MB / 3.819 GB, free: 98.83 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001699/9.833, allocations: 303 kB / 3.819 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/9.834, allocations: 349.8 kB / 3.819 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of SimCode: time 9.81e-07/9.834, allocations: 2.188 kB / 3.819 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/9.906, allocations: 35.77 MB / 3.854 GB, free: 98.22 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/9.907, allocations: 188.7 kB / 3.854 GB, free: 98.03 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/13.2, allocations: 3.25 kB / 3.854 GB, free: 98.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)