Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8095/0.8095, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.9 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.000874, allocations: 84.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 278.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.193e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4909, allocations: 82.78 MB / 0.7575 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.088/6.579, allocations: 2.148 GB / 2.905 GB, free: 190.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/6.579, allocations: 87.94 kB / 2.905 GB, free: 190 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 13.9/20.48, allocations: 3.383 GB / 6.288 GB, free: 67.47 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.317e-06/20.48, allocations: 4.344 kB / 6.288 GB, free: 67.47 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0008141/20.48, allocations: 112.6 kB / 6.288 GB, free: 67.45 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02936/20.51, allocations: 5.617 MB / 6.294 GB, free: 65.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/20.51, allocations: 9 kB / 6.294 GB, free: 65.58 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/20.52, allocations: 2.043 MB / 6.296 GB, free: 65.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01991/20.54, allocations: 4.268 MB / 6.3 GB, free: 64.56 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00352/20.54, allocations: 0.7739 MB / 6.301 GB, free: 64.55 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/20.55, allocations: 206.4 kB / 6.301 GB, free: 64.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01151/20.56, allocations: 3.514 MB / 6.304 GB, free: 64.54 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/20.57, allocations: 3.739 MB / 6.308 GB, free: 64.19 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/20.57, allocations: 2.812 kB / 6.308 GB, free: 64.19 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/20.58, allocations: 4.828 kB / 6.308 GB, free: 64.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/20.58, allocations: 153.9 kB / 6.308 GB, free: 64.18 MB / 0.8542 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.0531/20.63, allocations: 19.38 MB / 6.327 GB, free: 56.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/20.63, allocations: 2.529 MB / 6.329 GB, free: 55.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/20.64, allocations: 1.393 MB / 6.331 GB, free: 55.96 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009834/20.64, allocations: 0.6954 MB / 6.331 GB, free: 55.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004084/20.64, allocations: 1.719 MB / 6.333 GB, free: 55.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 1.274e-05/20.64, allocations: 0 / 6.333 GB, free: 55.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.009722/20.65, allocations: 3.078 MB / 6.336 GB, free: 54.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/20.65, allocations: 104.2 kB / 6.336 GB, free: 54.84 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007788/20.66, allocations: 2.46 MB / 6.339 GB, free: 54.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001322/20.66, allocations: 28.45 kB / 6.339 GB, free: 54.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/20.66, allocations: 1.838 MB / 6.34 GB, free: 53.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/20.67, allocations: 0.8096 MB / 6.341 GB, free: 53.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009167/20.67, allocations: 1.531 kB / 6.341 GB, free: 53.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004021/20.67, allocations: 429 kB / 6.342 GB, free: 53.01 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/20.67, allocations: 1.31 MB / 6.343 GB, free: 53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/20.68, allocations: 2.139 MB / 6.345 GB, free: 52.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/20.68, allocations: 1.625 MB / 6.347 GB, free: 52.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.125e-05/20.68, allocations: 2.812 kB / 6.347 GB, free: 52.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01395/20.69, allocations: 3.854 MB / 6.35 GB, free: 51.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002118/20.7, allocations: 6.089 MB / 6.356 GB, free: 45.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/20.7, allocations: 12.41 kB / 6.356 GB, free: 45.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/20.7, allocations: 32.16 kB / 6.356 GB, free: 45.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007779/20.7, allocations: 1.23 MB / 6.358 GB, free: 45.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/20.71, allocations: 6.021 MB / 6.363 GB, free: 39.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009258/20.72, allocations: 0.7462 MB / 6.364 GB, free: 39.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/20.72, allocations: 167.8 kB / 6.364 GB, free: 39.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/20.72, allocations: 5.406 kB / 6.364 GB, free: 39.34 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01234/20.73, allocations: 3.402 MB / 6.368 GB, free: 39.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/20.73, allocations: 17.09 kB / 6.368 GB, free: 39.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.374e-05/20.73, allocations: 30.88 kB / 6.368 GB, free: 39.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/20.74, allocations: 1.131 MB / 6.369 GB, free: 39.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-05/20.74, allocations: 36.12 kB / 6.369 GB, free: 39.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007869/20.75, allocations: 0.6979 MB / 6.37 GB, free: 39.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/20.75, allocations: 169.8 kB / 6.37 GB, free: 39.15 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002283/20.75, allocations: 184.8 kB / 6.37 GB, free: 39.03 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01006/20.76, allocations: 3.008 MB / 6.373 GB, free: 38.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/20.76, allocations: 396.2 kB / 6.373 GB, free: 38.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/20.77, allocations: 3.575 MB / 6.377 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/20.77, allocations: 29.98 kB / 6.377 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/20.77, allocations: 0 / 6.377 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/20.77, allocations: 14.83 kB / 6.377 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/20.8, allocations: 7.638 MB / 6.384 GB, free: 37.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/20.8, allocations: 3.5 kB / 6.384 GB, free: 37.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004995/20.8, allocations: 0.9209 MB / 6.385 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/20.8, allocations: 13.91 kB / 6.385 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005816/20.8, allocations: 61.53 kB / 6.385 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/20.8, allocations: 5.94 MB / 6.391 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/20.8, allocations: 17.03 kB / 6.391 GB, free: 31.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/20.81, allocations: 4.007 MB / 6.395 GB, free: 30.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004/20.82, allocations: 0.9675 MB / 6.396 GB, free: 30.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/20.82, allocations: 7.891 kB / 6.396 GB, free: 30.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006862/20.83, allocations: 0.5867 MB / 6.396 GB, free: 30.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007404/20.83, allocations: 198.5 kB / 6.397 GB, free: 30.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007815/20.83, allocations: 139.6 kB / 6.397 GB, free: 30.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005992/20.83, allocations: 1.778 MB / 6.398 GB, free: 29.94 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/20.83, allocations: 0 / 6.398 GB, free: 29.94 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01553/20.85, allocations: 2.631 MB / 6.401 GB, free: 29.64 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02608/20.88, allocations: 12.47 MB / 6.413 GB, free: 23.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01669/20.89, allocations: 5.499 MB / 6.419 GB, free: 23.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/20.89, allocations: 3.25 kB / 6.419 GB, free: 23.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005405/20.9, allocations: 1.705 MB / 6.42 GB, free: 23.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01153/20.91, allocations: 1.488 MB / 6.422 GB, free: 23.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/20.94, allocations: 6.656 MB / 6.428 GB, free: 21.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004171/20.94, allocations: 2.474 MB / 6.431 GB, free: 20.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01283/20.95, allocations: 1.394 MB / 6.432 GB, free: 20.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006241/20.96, allocations: 1.819 MB / 6.434 GB, free: 20.84 MB / 0.8542 GB Notification: Performance of SimCode: time 2.044e-06/20.96, allocations: 0.75 kB / 6.434 GB, free: 20.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2991/21.26, allocations: 140.5 MB / 6.571 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/21.26, allocations: 200 kB / 6.571 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/29.63, allocations: 0 / 6.571 GB, free: 1.348 MB / 0.8698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)