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.00188/0.00188, allocations: 175.2 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.7859/0.7859, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.536/1.536, allocations: 221.3 MB / 400.4 MB, free: 5.879 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.0008751/0.0008751, allocations: 90.98 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 3.781 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1808, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.487, allocations: 383.7 MB / 1.015 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.488, allocations: 89.27 kB / 1.015 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 12.11/13.6, allocations: 2.788 GB / 3.804 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/13.6, allocations: 0 / 3.804 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001105/13.6, allocations: 167.9 kB / 3.804 GB, free: 9.281 MB / 0.8386 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.01915/13.62, allocations: 5.925 MB / 3.81 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/13.62, allocations: 12.03 kB / 3.81 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/13.62, allocations: 0.5349 MB / 3.81 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/13.63, allocations: 0.7849 MB / 3.811 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9903/14.62, allocations: 60.66 MB / 3.87 GB, free: 43.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/14.62, allocations: 317.5 kB / 3.87 GB, free: 43.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/14.62, allocations: 424.4 kB / 3.871 GB, free: 43.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/14.64, allocations: 4.189 MB / 3.875 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/14.64, allocations: 16.78 kB / 3.875 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/14.64, allocations: 179.2 kB / 3.875 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/14.64, allocations: 118 kB / 3.875 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00824/14.65, allocations: 2.789 MB / 3.878 GB, free: 42.3 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 preOpt removeSimpleEquations (simulation): time 0.04048/14.69, allocations: 24.05 MB / 3.901 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/14.69, allocations: 2.902 MB / 3.904 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/14.69, allocations: 1.047 MB / 3.905 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003418/14.7, allocations: 3.934 MB / 3.909 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/14.7, allocations: 66.81 kB / 3.909 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 9.177e-06/14.7, allocations: 0 / 3.909 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.007574/14.7, allocations: 2.562 MB / 3.912 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/14.7, allocations: 80.83 kB / 3.912 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/14.71, allocations: 3.616 MB / 3.915 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/14.72, allocations: 77.48 kB / 3.915 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/14.72, allocations: 2.791 MB / 3.918 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001382/14.72, allocations: 0.7815 MB / 3.919 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/14.72, allocations: 53.03 kB / 3.919 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002628/14.72, allocations: 409.5 kB / 3.919 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/14.72, allocations: 0.7615 MB / 3.92 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/14.72, allocations: 1.758 MB / 3.922 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/14.73, allocations: 1.069 MB / 3.923 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/14.73, allocations: 8.344 kB / 3.923 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008395/14.74, allocations: 3.281 MB / 3.926 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00476/14.74, allocations: 10.37 MB / 3.936 GB, free: 23.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/14.74, allocations: 20.16 kB / 3.936 GB, free: 23.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/14.74, allocations: 397 kB / 3.937 GB, free: 23.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/14.74, allocations: 0.5228 MB / 3.937 GB, free: 23.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/14.75, allocations: 2.685 MB / 3.94 GB, free: 21.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006813/14.75, allocations: 0.5508 MB / 3.94 GB, free: 21.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006053/14.75, allocations: 134.6 kB / 3.94 GB, free: 21.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/14.75, allocations: 2.25 kB / 3.94 GB, free: 21.45 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006805/14.76, allocations: 2.729 MB / 3.943 GB, free: 21.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.621e-05/14.76, allocations: 21.66 kB / 3.943 GB, free: 21.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/14.76, allocations: 385.4 kB / 3.943 GB, free: 21.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/14.76, allocations: 0.521 MB / 3.944 GB, free: 21.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009877/14.77, allocations: 7.708 MB / 3.951 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/14.78, allocations: 0.5156 MB / 3.952 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007892/14.78, allocations: 129.8 kB / 3.952 GB, free: 15.57 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 () * 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.001513/14.78, allocations: 281.5 kB / 3.952 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002482/14.78, allocations: 0.5104 MB / 3.953 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/14.8, allocations: 3.71 MB / 3.957 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.625e-05/14.8, allocations: 39.58 kB / 3.957 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/14.8, allocations: 1.938 kB / 3.957 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/14.8, allocations: 2.521 MB / 3.959 GB, free: 14.68 MB / 0.8542 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.02221/14.82, allocations: 8.509 MB / 3.967 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/14.82, allocations: 2.875 kB / 3.967 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/14.82, allocations: 387 kB / 3.968 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/14.83, allocations: 302.4 kB / 3.968 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/14.83, allocations: 64.48 kB / 3.968 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/14.83, allocations: 2.488 MB / 3.97 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/14.83, allocations: 5.891 kB / 3.97 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008939/14.84, allocations: 4.657 MB / 3.975 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004073/14.84, allocations: 0.9981 MB / 3.976 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/14.84, allocations: 43.5 kB / 3.976 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005668/14.85, allocations: 441.9 kB / 3.976 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/14.85, allocations: 153.4 kB / 3.977 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004055/14.85, allocations: 115.1 kB / 3.977 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006462/14.86, allocations: 2.749 MB / 3.979 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.41e-07/14.86, allocations: 0 / 3.979 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0189/14.87, allocations: 3.59 MB / 3.983 GB, free: 9.191 MB / 0.8542 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.01685/14.89, allocations: 8.509 MB / 3.991 GB, free: 22.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009304/14.9, allocations: 4.494 MB / 3.996 GB, free: 22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/14.9, allocations: 0 / 3.996 GB, free: 22 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/14.9, allocations: 1.291 MB / 3.997 GB, free: 21.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01735/14.92, allocations: 2.706 MB / 4 GB, free: 21.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/14.95, allocations: 8.581 MB / 4.008 GB, free: 19.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/14.96, allocations: 3.009 MB / 4.011 GB, free: 18.76 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01075/14.97, allocations: 1.51 MB / 4.012 GB, free: 18.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004507/14.97, allocations: 2.454 MB / 4.015 GB, free: 18.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/14.97, allocations: 0 / 4.015 GB, free: 18.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/16.1, allocations: 183.4 MB / 4.194 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/16.1, allocations: 214.2 kB / 4.194 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/26.29, allocations: 3.188 kB / 4.194 GB, free: 87.98 MB / 0.8855 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)