Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_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.009655/0.009655, allocations: 170 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7565/0.7565, allocations: 135.2 MB / 151 MB, free: 13.84 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.588/1.588, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.001088/0.001088, allocations: 103.2 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4431, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7904/1.234, allocations: 383.8 MB / 1.024 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.234, allocations: 103.7 kB / 1.024 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 10.95/12.18, allocations: 2.797 GB / 3.821 GB, free: 36.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.518e-06/12.18, allocations: 4 kB / 3.821 GB, free: 36.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001042/12.18, allocations: 174.8 kB / 3.822 GB, free: 36.04 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.02792/12.21, allocations: 7.161 MB / 3.829 GB, free: 32.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/12.21, allocations: 10.03 kB / 3.829 GB, free: 32.36 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002927/12.22, allocations: 0.5412 MB / 3.829 GB, free: 32.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/12.22, allocations: 0.7835 MB / 3.83 GB, free: 31.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1245/12.34, allocations: 60.98 MB / 3.889 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/12.35, allocations: 316.1 kB / 3.89 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/12.35, allocations: 423.9 kB / 3.89 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/12.36, allocations: 4.277 MB / 3.894 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/12.36, allocations: 11.88 kB / 3.894 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004996/12.36, allocations: 172 kB / 3.894 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/12.36, allocations: 120 kB / 3.895 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9434/13.3, allocations: 2.899 MB / 3.897 GB, free: 42.1 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.04482/13.35, allocations: 24.06 MB / 3.921 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/13.35, allocations: 2.954 MB / 3.924 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/13.35, allocations: 3.936 MB / 3.928 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.437e-05/13.35, allocations: 62.41 kB / 3.928 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 7.073e-06/13.35, allocations: 0.875 kB / 3.928 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.01171/13.37, allocations: 4.105 MB / 3.932 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/13.37, allocations: 81.08 kB / 3.932 GB, free: 21.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009553/13.37, allocations: 3.687 MB / 3.935 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009531/13.38, allocations: 77.02 kB / 3.935 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/13.38, allocations: 2.784 MB / 3.938 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/13.38, allocations: 0.7838 MB / 3.939 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/13.38, allocations: 54.66 kB / 3.939 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001807/13.38, allocations: 411.3 kB / 3.939 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/13.38, allocations: 0.8001 MB / 3.94 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/13.38, allocations: 1.795 MB / 3.942 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/13.39, allocations: 1.102 MB / 3.943 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/13.39, allocations: 6.562 kB / 3.943 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007529/13.39, allocations: 3.349 MB / 3.946 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005051/13.4, allocations: 10.36 MB / 3.956 GB, free: 23.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.856e-05/13.4, allocations: 19.88 kB / 3.956 GB, free: 23.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/13.4, allocations: 407.6 kB / 3.957 GB, free: 23.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/13.4, allocations: 0.5233 MB / 3.957 GB, free: 23.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/13.41, allocations: 2.696 MB / 3.96 GB, free: 21.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007651/13.41, allocations: 0.5547 MB / 3.96 GB, free: 21.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008368/13.41, allocations: 134 kB / 3.961 GB, free: 21.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/13.41, allocations: 7.719 kB / 3.961 GB, free: 21.68 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008872/13.42, allocations: 2.806 MB / 3.963 GB, free: 21.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/13.42, allocations: 26.64 kB / 3.963 GB, free: 21.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/13.42, allocations: 376.6 kB / 3.964 GB, free: 21.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/13.43, allocations: 0.5285 MB / 3.964 GB, free: 21.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/13.44, allocations: 7.802 MB / 3.972 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007701/13.45, allocations: 0.5088 MB / 3.972 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009131/13.45, allocations: 127.3 kB / 3.973 GB, free: 15.86 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.005247/13.45, allocations: 1.002 MB / 3.973 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002923/13.46, allocations: 0.5077 MB / 3.974 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/13.47, allocations: 3.787 MB / 3.978 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/13.47, allocations: 39.66 kB / 3.978 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/13.47, allocations: 3.25 kB / 3.978 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005769/13.47, allocations: 2.603 MB / 3.98 GB, free: 14.92 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.02944/13.5, allocations: 8.578 MB / 3.989 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/13.5, allocations: 5.219 kB / 3.989 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/13.5, allocations: 381.5 kB / 3.989 GB, free: 29.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/13.51, allocations: 302.4 kB / 3.989 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/13.51, allocations: 71.3 kB / 3.989 GB, free: 29.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/13.51, allocations: 2.501 MB / 3.992 GB, free: 27.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/13.51, allocations: 3.906 kB / 3.992 GB, free: 27.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/13.52, allocations: 4.758 MB / 3.996 GB, free: 26.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006763/13.53, allocations: 0.9921 MB / 3.997 GB, free: 26.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/13.53, allocations: 52.39 kB / 3.997 GB, free: 26.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006712/13.54, allocations: 440.5 kB / 3.998 GB, free: 26.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/13.54, allocations: 152.5 kB / 3.998 GB, free: 26.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004757/13.54, allocations: 114.9 kB / 3.998 GB, free: 26.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.009124/13.55, allocations: 2.818 MB / 4.001 GB, free: 25.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.934e-06/13.55, allocations: 2 kB / 4.001 GB, free: 25.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02773/13.57, allocations: 3.592 MB / 4.004 GB, free: 25.59 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.02316/13.6, allocations: 8.614 MB / 4.013 GB, free: 23.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01079/13.61, allocations: 4.432 MB / 4.017 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/13.61, allocations: 3.5 kB / 4.017 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/13.61, allocations: 1.326 MB / 4.018 GB, free: 22.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01881/13.63, allocations: 2.715 MB / 4.021 GB, free: 22.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09857/13.73, allocations: 50.9 MB / 4.071 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005427/13.73, allocations: 3 MB / 4.074 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006801/13.74, allocations: 1.208 MB / 4.075 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004845/13.75, allocations: 2.547 MB / 4.077 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/13.75, allocations: 2.688 kB / 4.077 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/14.95, allocations: 172.7 MB / 4.246 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/14.95, allocations: 242 kB / 4.246 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.975/24.92, allocations: 0.5312 kB / 4.246 GB, free: 107.4 MB / 0.9167 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)