Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_dev_IDEAS_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.00202/0.00202, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7236/0.7236, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 95.7 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.381e-05, allocations: 2.531 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1854, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.368, allocations: 2.149 GB / 2.789 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/5.368, allocations: 91.5 kB / 2.789 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.813/9.181, allocations: 0.9547 GB / 3.744 GB, free: 84.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/9.181, allocations: 0 / 3.744 GB, free: 84.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001579/9.182, allocations: 49.14 kB / 3.744 GB, free: 84.43 MB / 0.698 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.006005/9.188, allocations: 2.091 MB / 3.746 GB, free: 83.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/9.188, allocations: 11.78 kB / 3.746 GB, free: 83.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/9.188, allocations: 146.6 kB / 3.746 GB, free: 83.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/9.191, allocations: 0.5419 MB / 3.747 GB, free: 83.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/9.194, allocations: 1.368 MB / 3.748 GB, free: 82.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006441/9.194, allocations: 222.2 kB / 3.748 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/9.194, allocations: 113.3 kB / 3.749 GB, free: 82.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/9.196, allocations: 1.202 MB / 3.75 GB, free: 82.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/9.196, allocations: 3.656 kB / 3.75 GB, free: 82.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/9.196, allocations: 42.66 kB / 3.75 GB, free: 82.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/9.197, allocations: 40.69 kB / 3.75 GB, free: 82.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/9.198, allocations: 1.038 MB / 3.751 GB, free: 82.51 MB / 0.698 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.008252/9.206, allocations: 5.528 MB / 3.756 GB, free: 80.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/9.208, allocations: 0.7845 MB / 3.757 GB, free: 80.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/9.208, allocations: 428.1 kB / 3.757 GB, free: 80.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009067/9.209, allocations: 0.7532 MB / 3.758 GB, free: 79.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008794/9.21, allocations: 0.5024 MB / 3.759 GB, free: 79.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.631e-06/9.21, allocations: 0 / 3.759 GB, free: 79.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002111/9.212, allocations: 0.9421 MB / 3.76 GB, free: 78.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/9.212, allocations: 126 kB / 3.76 GB, free: 78.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/9.214, allocations: 1.137 MB / 3.761 GB, free: 77.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/9.214, allocations: 49.36 kB / 3.761 GB, free: 77.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/9.214, allocations: 0.6349 MB / 3.761 GB, free: 77.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/9.215, allocations: 279.2 kB / 3.762 GB, free: 77.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/9.215, allocations: 23.53 kB / 3.762 GB, free: 77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/9.215, allocations: 349.6 kB / 3.762 GB, free: 76.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/9.215, allocations: 400.5 kB / 3.762 GB, free: 76.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008546/9.216, allocations: 0.6986 MB / 3.763 GB, free: 75.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/9.217, allocations: 480.2 kB / 3.764 GB, free: 75.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/9.217, allocations: 0 / 3.764 GB, free: 75.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00209/9.219, allocations: 1.25 MB / 3.765 GB, free: 75.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004323/9.22, allocations: 1.893 MB / 3.767 GB, free: 73.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/9.22, allocations: 5.625 kB / 3.767 GB, free: 73.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/9.22, allocations: 8.781 kB / 3.767 GB, free: 73.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/9.221, allocations: 353.6 kB / 3.767 GB, free: 72.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006227/9.222, allocations: 1.206 MB / 3.768 GB, free: 71.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/9.224, allocations: 245.5 kB / 3.768 GB, free: 71.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/9.224, allocations: 59.75 kB / 3.768 GB, free: 71.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/9.224, allocations: 4.078 kB / 3.768 GB, free: 71.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001719/9.226, allocations: 1.093 MB / 3.77 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/9.226, allocations: 7.656 kB / 3.77 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/9.226, allocations: 7.281 kB / 3.77 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/9.227, allocations: 333.8 kB / 3.77 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/9.227, allocations: 17.61 kB / 3.77 GB, free: 70.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/9.229, allocations: 228.5 kB / 3.77 GB, free: 70.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/9.229, allocations: 55.78 kB / 3.77 GB, free: 70.86 MB / 0.698 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.0003138/9.229, allocations: 179.9 kB / 3.77 GB, free: 70.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/9.23, allocations: 155 kB / 3.77 GB, free: 70.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/9.232, allocations: 1.113 MB / 3.772 GB, free: 69.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/9.232, allocations: 10.94 kB / 3.772 GB, free: 69.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/9.232, allocations: 0 / 3.772 GB, free: 69.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/9.232, allocations: 10.95 kB / 3.772 GB, free: 69.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/9.236, allocations: 2.663 MB / 3.774 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/9.236, allocations: 4 kB / 3.774 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/9.237, allocations: 247.8 kB / 3.774 GB, free: 67.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/9.237, allocations: 11.98 kB / 3.774 GB, free: 67.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/9.237, allocations: 31.98 kB / 3.774 GB, free: 67.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005096/9.238, allocations: 1.191 MB / 3.776 GB, free: 66.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/9.238, allocations: 7.938 kB / 3.776 GB, free: 66.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/9.24, allocations: 1.942 MB / 3.778 GB, free: 64.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/9.241, allocations: 378.8 kB / 3.778 GB, free: 63.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/9.241, allocations: 31.92 kB / 3.778 GB, free: 63.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/9.243, allocations: 139.8 kB / 3.778 GB, free: 63.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/9.243, allocations: 76.58 kB / 3.778 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/9.243, allocations: 47.95 kB / 3.778 GB, free: 63.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001136/9.244, allocations: 0.8618 MB / 3.779 GB, free: 62.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/9.244, allocations: 4 kB / 3.779 GB, free: 62.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003271/9.247, allocations: 0.9872 MB / 3.78 GB, free: 61.85 MB / 0.698 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.006791/9.254, allocations: 5.405 MB / 3.785 GB, free: 56.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003788/9.258, allocations: 1.769 MB / 3.787 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/9.258, allocations: 0 / 3.787 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/9.259, allocations: 0.5284 MB / 3.787 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/9.263, allocations: 0.6774 MB / 3.788 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/9.268, allocations: 2.451 MB / 3.791 GB, free: 50.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/9.269, allocations: 1.257 MB / 3.792 GB, free: 49.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002281/9.271, allocations: 0.5063 MB / 3.792 GB, free: 49.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006949/9.272, allocations: 0.5539 MB / 3.793 GB, free: 48.47 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/9.272, allocations: 4 kB / 3.793 GB, free: 48.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.598/9.87, allocations: 74.37 MB / 3.865 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/9.87, allocations: 233.2 kB / 3.866 GB, free: 102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/14.95, allocations: 2.719 kB / 3.866 GB, free: 102 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)