Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",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.00163/0.00163, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.129/1.129, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.919/1.919, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009207/0.0009207, allocations: 99.89 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.633e-05, allocations: 8 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5358, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.479, allocations: 383.1 MB / 1.008 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.48, allocations: 90.39 kB / 1.008 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 13/14.48, allocations: 2.777 GB / 3.785 GB, free: 32.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.645e-06/14.48, allocations: 0 / 3.785 GB, free: 32.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001452/14.48, allocations: 176.9 kB / 3.785 GB, free: 32.35 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02586/14.5, allocations: 5.923 MB / 3.791 GB, free: 29.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 8.223e-05/14.5, allocations: 9.906 kB / 3.791 GB, free: 29.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/14.51, allocations: 0.7791 MB / 3.791 GB, free: 28.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1409/14.65, allocations: 60.52 MB / 3.85 GB, free: 24.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/14.65, allocations: 131 kB / 3.851 GB, free: 24.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/14.65, allocations: 250 kB / 3.851 GB, free: 24.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01054/14.67, allocations: 2.523 MB / 3.853 GB, free: 23.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/14.68, allocations: 3.608 MB / 3.857 GB, free: 21.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003887/14.68, allocations: 15.47 kB / 3.857 GB, free: 21.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/14.68, allocations: 10.59 kB / 3.857 GB, free: 21.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/14.68, allocations: 123.2 kB / 3.857 GB, free: 21.3 MB / 0.8073 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.04397/14.73, allocations: 23.36 MB / 3.88 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/14.73, allocations: 2.842 MB / 3.883 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/14.73, allocations: 0.9975 MB / 3.884 GB, free: 14.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/14.74, allocations: 3.93 MB / 3.887 GB, free: 10.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.787e-05/14.74, allocations: 64.56 kB / 3.887 GB, free: 10.12 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 7.444e-06/14.74, allocations: 0 / 3.887 GB, free: 10.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.01094/14.75, allocations: 2.892 MB / 3.89 GB, free: 7.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/14.75, allocations: 73.41 kB / 3.89 GB, free: 7.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007934/14.76, allocations: 3.306 MB / 3.894 GB, free: 4.535 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008212/14.76, allocations: 33.7 kB / 3.894 GB, free: 4.496 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/14.76, allocations: 2.801 MB / 3.896 GB, free: 1.941 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/14.76, allocations: 0.7543 MB / 3.897 GB, free: 1.242 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/14.76, allocations: 0 / 3.897 GB, free: 1.242 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002593/14.76, allocations: 410.2 kB / 3.897 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/14.76, allocations: 0.7286 MB / 3.898 GB, free: 180 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/14.77, allocations: 1.702 MB / 3.9 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/14.77, allocations: 1.361 MB / 3.901 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-05/14.77, allocations: 15.95 kB / 3.901 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01046/14.78, allocations: 3.464 MB / 3.905 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.8785/15.66, allocations: 10.32 MB / 3.915 GB, free: 63.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.848e-05/15.66, allocations: 21.41 kB / 3.915 GB, free: 63.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/15.66, allocations: 339.5 kB / 3.915 GB, free: 63.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/15.66, allocations: 0.5258 MB / 3.916 GB, free: 63.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/15.67, allocations: 2.76 MB / 3.918 GB, free: 61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/15.67, allocations: 497.4 kB / 3.919 GB, free: 61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/15.67, allocations: 131.6 kB / 3.919 GB, free: 61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/15.67, allocations: 4.5 kB / 3.919 GB, free: 61 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00771/15.68, allocations: 2.753 MB / 3.921 GB, free: 60.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.926e-05/15.68, allocations: 23.66 kB / 3.922 GB, free: 60.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/15.68, allocations: 352.2 kB / 3.922 GB, free: 60.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/15.68, allocations: 0.5219 MB / 3.922 GB, free: 60.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/15.69, allocations: 7.408 MB / 3.93 GB, free: 55.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/15.7, allocations: 454.7 kB / 3.93 GB, free: 55.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/15.7, allocations: 128.6 kB / 3.93 GB, free: 55.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008554/15.7, allocations: 185.5 kB / 3.93 GB, free: 55.51 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00745/15.71, allocations: 2.742 MB / 3.933 GB, free: 55.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/15.71, allocations: 0.5008 MB / 3.933 GB, free: 55.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008326/15.72, allocations: 3.752 MB / 3.937 GB, free: 54.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/15.72, allocations: 41.12 kB / 3.937 GB, free: 54.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/15.72, allocations: 0.5625 kB / 3.937 GB, free: 54.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005711/15.72, allocations: 2.627 MB / 3.94 GB, free: 54.61 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.01998/15.74, allocations: 8.085 MB / 3.948 GB, free: 53.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/15.74, allocations: 3.406 kB / 3.948 GB, free: 53.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/15.74, allocations: 380.3 kB / 3.948 GB, free: 53.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/15.74, allocations: 233.2 kB / 3.948 GB, free: 53.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/15.74, allocations: 35.58 kB / 3.948 GB, free: 53.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/15.75, allocations: 2.505 MB / 3.951 GB, free: 51.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/15.75, allocations: 2.438 kB / 3.951 GB, free: 51.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/15.76, allocations: 4.705 MB / 3.955 GB, free: 50.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/15.76, allocations: 0.9846 MB / 3.956 GB, free: 49.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/15.76, allocations: 9.141 kB / 3.956 GB, free: 49.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004379/15.76, allocations: 399.3 kB / 3.957 GB, free: 49.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/15.77, allocations: 152.5 kB / 3.957 GB, free: 49.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/15.77, allocations: 116 kB / 3.957 GB, free: 49.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00456/15.77, allocations: 2.45 MB / 3.959 GB, free: 49.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.6e-07/15.77, allocations: 0 / 3.959 GB, free: 49.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01748/15.79, allocations: 3.447 MB / 3.963 GB, free: 49.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01677/15.8, allocations: 8.559 MB / 3.971 GB, free: 47.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008579/15.81, allocations: 4.238 MB / 3.975 GB, free: 46.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/15.81, allocations: 2.625 kB / 3.975 GB, free: 46.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/15.82, allocations: 1.238 MB / 3.976 GB, free: 46.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01658/15.83, allocations: 2.604 MB / 3.979 GB, free: 46.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/15.86, allocations: 8.357 MB / 3.987 GB, free: 44.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/15.86, allocations: 3.005 MB / 3.99 GB, free: 43.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.008392/15.87, allocations: 1.49 MB / 3.991 GB, free: 43.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003846/15.87, allocations: 2.453 MB / 3.994 GB, free: 43.59 MB / 0.8386 GB Notification: Performance of SimCode: time 1.904e-06/15.87, allocations: 0 / 3.994 GB, free: 43.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2686/16.14, allocations: 160.7 MB / 4.151 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/16.14, allocations: 157.9 kB / 4.151 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/24.84, allocations: 0.75 kB / 4.151 GB, free: 21.3 MB / 0.8386 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)