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.008326/0.008326, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7948/0.7948, allocations: 135.2 MB / 151 MB, free: 13.83 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.694/1.694, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009695/0.0009695, allocations: 89.31 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4878, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8786/1.366, allocations: 383.8 MB / 1.024 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.367, allocations: 97.77 kB / 1.024 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 10.81/12.18, allocations: 2.797 GB / 3.821 GB, free: 36.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.376e-06/12.18, allocations: 3.938 kB / 3.821 GB, free: 36.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001125/12.18, allocations: 173.1 kB / 3.822 GB, free: 36.35 MB / 0.823 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.02468/12.2, allocations: 7.167 MB / 3.829 GB, free: 32.67 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/12.2, allocations: 9.875 kB / 3.829 GB, free: 32.67 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002471/12.2, allocations: 0.538 MB / 3.829 GB, free: 32.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/12.21, allocations: 0.7795 MB / 3.83 GB, free: 32.24 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1283/12.34, allocations: 60.99 MB / 3.889 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/12.34, allocations: 316.1 kB / 3.89 GB, free: 6.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/12.34, allocations: 423.6 kB / 3.89 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/12.35, allocations: 4.281 MB / 3.894 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/12.35, allocations: 11.88 kB / 3.894 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005428/12.35, allocations: 176 kB / 3.894 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/12.35, allocations: 119.9 kB / 3.895 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8252/13.18, allocations: 2.893 MB / 3.897 GB, free: 42.17 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0475/13.23, allocations: 24.05 MB / 3.921 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/13.23, allocations: 2.951 MB / 3.924 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002889/13.23, allocations: 3.938 MB / 3.928 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/13.23, allocations: 63.06 kB / 3.928 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 7.304e-06/13.23, allocations: 0 / 3.928 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.01166/13.24, allocations: 4.109 MB / 3.932 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/13.24, allocations: 74.66 kB / 3.932 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009841/13.25, allocations: 3.686 MB / 3.935 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009279/13.25, allocations: 82.73 kB / 3.935 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00282/13.26, allocations: 2.782 MB / 3.938 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/13.26, allocations: 0.7808 MB / 3.939 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/13.26, allocations: 56.16 kB / 3.939 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001907/13.26, allocations: 406.3 kB / 3.939 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/13.26, allocations: 0.8017 MB / 3.94 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/13.26, allocations: 1.797 MB / 3.942 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/13.27, allocations: 1.105 MB / 3.943 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/13.27, allocations: 4.781 kB / 3.943 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007997/13.27, allocations: 3.354 MB / 3.946 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.006091/13.28, allocations: 10.37 MB / 3.956 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.008e-05/13.28, allocations: 21.94 kB / 3.956 GB, free: 23.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/13.28, allocations: 401 kB / 3.957 GB, free: 23.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/13.28, allocations: 0.5251 MB / 3.957 GB, free: 23.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/13.29, allocations: 2.696 MB / 3.96 GB, free: 21.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008873/13.3, allocations: 0.5544 MB / 3.961 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/13.3, allocations: 130 kB / 3.961 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/13.3, allocations: 4.344 kB / 3.961 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009836/13.31, allocations: 2.809 MB / 3.963 GB, free: 21.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/13.31, allocations: 27.23 kB / 3.963 GB, free: 21.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/13.31, allocations: 375.8 kB / 3.964 GB, free: 21.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/13.31, allocations: 0.5257 MB / 3.964 GB, free: 21.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/13.32, allocations: 7.805 MB / 3.972 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007691/13.33, allocations: 0.5115 MB / 3.972 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009176/13.33, allocations: 129.3 kB / 3.973 GB, free: 15.93 MB / 0.8542 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 () * Number of clocked 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.004922/13.34, allocations: 0.9934 MB / 3.973 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002811/13.34, allocations: 0.5143 MB / 3.974 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/13.35, allocations: 3.782 MB / 3.978 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/13.35, allocations: 39.83 kB / 3.978 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/13.35, allocations: 0 / 3.978 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006346/13.36, allocations: 2.608 MB / 3.98 GB, free: 15 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0275/13.38, allocations: 8.579 MB / 3.989 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/13.38, allocations: 0 / 3.989 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/13.39, allocations: 385.9 kB / 3.989 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008807/13.39, allocations: 300.4 kB / 3.989 GB, free: 29.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/13.39, allocations: 69.14 kB / 3.989 GB, free: 29.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/13.39, allocations: 2.496 MB / 3.992 GB, free: 27.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/13.39, allocations: 2.906 kB / 3.992 GB, free: 27.38 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/13.4, allocations: 4.761 MB / 3.996 GB, free: 26.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005694/13.41, allocations: 0.9967 MB / 3.997 GB, free: 26.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002543/13.41, allocations: 48.92 kB / 3.997 GB, free: 26.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006494/13.41, allocations: 449 kB / 3.998 GB, free: 26.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003638/13.42, allocations: 148.1 kB / 3.998 GB, free: 26.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/13.42, allocations: 117.2 kB / 3.998 GB, free: 26.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008498/13.42, allocations: 2.823 MB / 4.001 GB, free: 26.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.61e-07/13.42, allocations: 0 / 4.001 GB, free: 26.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02112/13.45, allocations: 3.59 MB / 4.004 GB, free: 25.67 MB / 0.8698 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 () * Number of clocked 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.02035/13.47, allocations: 8.619 MB / 4.013 GB, free: 23.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0114/13.48, allocations: 4.433 MB / 4.017 GB, free: 22.56 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/13.48, allocations: 3.75 kB / 4.017 GB, free: 22.56 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/13.48, allocations: 1.329 MB / 4.018 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01863/13.5, allocations: 2.701 MB / 4.021 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/13.6, allocations: 50.91 MB / 4.071 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005812/13.61, allocations: 2.999 MB / 4.074 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009133/13.62, allocations: 1.208 MB / 4.075 GB, free: 3.289 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006328/13.63, allocations: 2.55 MB / 4.077 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of SimCode: time 9.618e-06/13.63, allocations: 0 / 4.077 GB, free: 3.285 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/14.8, allocations: 174.6 MB / 4.248 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/14.8, allocations: 246 kB / 4.248 GB, free: 104 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/25.36, allocations: 4.594 kB / 4.248 GB, free: 103.9 MB / 0.9167 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)