Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4866/0.4866, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.45 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.75e-05/5.785e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4443, allocations: 72.3 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.201/5.645, allocations: 2.14 GB / 2.7 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/5.645, allocations: 87.95 kB / 2.7 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.493/9.138, allocations: 0.9534 GB / 3.653 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/9.138, allocations: 0 / 3.653 GB, free: 77.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001382/9.138, allocations: 41.45 kB / 3.653 GB, free: 77.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005784/9.144, allocations: 2.096 MB / 3.656 GB, free: 76.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/9.144, allocations: 12.89 kB / 3.656 GB, free: 76.37 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/9.144, allocations: 154.3 kB / 3.656 GB, free: 76.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/9.147, allocations: 0.542 MB / 3.656 GB, free: 76.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/9.151, allocations: 1.369 MB / 3.658 GB, free: 75.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006546/9.152, allocations: 225.7 kB / 3.658 GB, free: 75.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/9.152, allocations: 113.3 kB / 3.658 GB, free: 75.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/9.154, allocations: 1.206 MB / 3.659 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/9.154, allocations: 3.688 kB / 3.659 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/9.154, allocations: 41.64 kB / 3.659 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/9.154, allocations: 37.16 kB / 3.659 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/9.156, allocations: 1.035 MB / 3.66 GB, free: 75.64 MB / 0.6355 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.009306/9.165, allocations: 5.537 MB / 3.666 GB, free: 73.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/9.166, allocations: 0.7723 MB / 3.666 GB, free: 73.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/9.167, allocations: 423.1 kB / 3.667 GB, free: 73.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/9.168, allocations: 0.7558 MB / 3.667 GB, free: 72.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/9.169, allocations: 0.5072 MB / 3.668 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=81): time 4.117e-06/9.169, allocations: 3.656 kB / 3.668 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.002021/9.171, allocations: 0.9362 MB / 3.669 GB, free: 72.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/9.171, allocations: 114.7 kB / 3.669 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/9.172, allocations: 1.147 MB / 3.67 GB, free: 72.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/9.172, allocations: 48.08 kB / 3.67 GB, free: 72.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/9.173, allocations: 0.6384 MB / 3.671 GB, free: 71.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/9.173, allocations: 279.7 kB / 3.671 GB, free: 71.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/9.173, allocations: 19.31 kB / 3.671 GB, free: 71.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/9.173, allocations: 346.3 kB / 3.671 GB, free: 71.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/9.174, allocations: 397.4 kB / 3.672 GB, free: 71.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/9.174, allocations: 0.6894 MB / 3.672 GB, free: 71.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/9.175, allocations: 485.1 kB / 3.673 GB, free: 71.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/9.175, allocations: 3.812 kB / 3.673 GB, free: 71.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001981/9.177, allocations: 1.24 MB / 3.674 GB, free: 70.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004014/9.178, allocations: 1.907 MB / 3.676 GB, free: 68.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/9.178, allocations: 2.5 kB / 3.676 GB, free: 68.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/9.178, allocations: 11.12 kB / 3.676 GB, free: 68.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/9.179, allocations: 351.3 kB / 3.676 GB, free: 68.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005056/9.18, allocations: 1.194 MB / 3.677 GB, free: 67.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/9.182, allocations: 254 kB / 3.678 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/9.182, allocations: 58.2 kB / 3.678 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/9.182, allocations: 4.719 kB / 3.678 GB, free: 67.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/9.184, allocations: 1.093 MB / 3.679 GB, free: 67.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/9.184, allocations: 7.406 kB / 3.679 GB, free: 67.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/9.184, allocations: 10.59 kB / 3.679 GB, free: 67.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/9.185, allocations: 332.9 kB / 3.679 GB, free: 67.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/9.185, allocations: 27.34 kB / 3.679 GB, free: 67.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/9.187, allocations: 225.9 kB / 3.679 GB, free: 67.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/9.187, allocations: 56.69 kB / 3.679 GB, free: 67.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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.0002759/9.187, allocations: 172.7 kB / 3.68 GB, free: 67.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/9.187, allocations: 157.4 kB / 3.68 GB, free: 67.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/9.189, allocations: 1.108 MB / 3.681 GB, free: 67.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/9.189, allocations: 7.344 kB / 3.681 GB, free: 67.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.189, allocations: 6.766 kB / 3.681 GB, free: 67.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/9.189, allocations: 3.891 kB / 3.681 GB, free: 67.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/9.193, allocations: 2.649 MB / 3.683 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/9.193, allocations: 3.844 kB / 3.683 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/9.194, allocations: 259.2 kB / 3.684 GB, free: 66.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/9.194, allocations: 6.531 kB / 3.684 GB, free: 66.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/9.195, allocations: 30.92 kB / 3.684 GB, free: 66.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003875/9.195, allocations: 1.188 MB / 3.685 GB, free: 65.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/9.195, allocations: 7.719 kB / 3.685 GB, free: 65.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/9.197, allocations: 1.944 MB / 3.687 GB, free: 64.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/9.198, allocations: 382.5 kB / 3.687 GB, free: 64.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/9.198, allocations: 23.8 kB / 3.687 GB, free: 64.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/9.2, allocations: 154.4 kB / 3.687 GB, free: 64.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/9.2, allocations: 71.39 kB / 3.687 GB, free: 64.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/9.2, allocations: 44.19 kB / 3.687 GB, free: 64.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001078/9.201, allocations: 0.8734 MB / 3.688 GB, free: 64.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/9.201, allocations: 0 / 3.688 GB, free: 64.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002987/9.204, allocations: 0.9921 MB / 3.689 GB, free: 64.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.006073/9.21, allocations: 5.401 MB / 3.695 GB, free: 60.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003218/9.213, allocations: 1.76 MB / 3.696 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/9.213, allocations: 0 / 3.696 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/9.214, allocations: 0.5114 MB / 3.697 GB, free: 59.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/9.218, allocations: 0.6834 MB / 3.697 GB, free: 59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/9.225, allocations: 2.442 MB / 3.7 GB, free: 56.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009402/9.226, allocations: 1.263 MB / 3.701 GB, free: 55.68 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002876/9.229, allocations: 0.506 MB / 3.702 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008743/9.23, allocations: 0.5624 MB / 3.702 GB, free: 54.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.435e-06/9.23, allocations: 3.938 kB / 3.702 GB, free: 54.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5196/9.75, allocations: 74.18 MB / 3.775 GB, free: 82.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/9.75, allocations: 233.6 kB / 3.775 GB, free: 82.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5/14.75, allocations: 0.6562 kB / 3.775 GB, free: 82.39 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)