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.001946/0.001946, 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 0.8132/0.8132, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.656/1.656, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0009681/0.0009677, allocations: 106 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.675e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5018, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8761/1.378, allocations: 383.1 MB / 1.008 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.378, allocations: 90.89 kB / 1.008 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11.76/13.14, allocations: 2.777 GB / 3.785 GB, free: 32.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.284e-06/13.14, allocations: 0 / 3.785 GB, free: 32.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001188/13.14, allocations: 176.9 kB / 3.785 GB, free: 32.37 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.01962/13.16, allocations: 5.919 MB / 3.791 GB, free: 29.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/13.16, allocations: 12.53 kB / 3.791 GB, free: 29.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/13.16, allocations: 0.7776 MB / 3.791 GB, free: 28.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1232/13.29, allocations: 60.51 MB / 3.85 GB, free: 24.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/13.29, allocations: 132.5 kB / 3.851 GB, free: 24.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/13.29, allocations: 252.5 kB / 3.851 GB, free: 24.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008001/13.3, allocations: 2.523 MB / 3.853 GB, free: 23.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/13.31, allocations: 3.602 MB / 3.857 GB, free: 21.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/13.31, allocations: 26.83 kB / 3.857 GB, free: 21.28 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/13.31, allocations: 7.75 kB / 3.857 GB, free: 21.28 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/13.31, allocations: 109.4 kB / 3.857 GB, free: 21.28 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.02803/13.34, allocations: 23.37 MB / 3.88 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/13.34, allocations: 2.855 MB / 3.883 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/13.34, allocations: 0.9973 MB / 3.884 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003405/13.35, allocations: 3.939 MB / 3.887 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.379e-05/13.35, allocations: 64.56 kB / 3.887 GB, free: 10.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 4.078e-06/13.35, allocations: 0 / 3.887 GB, free: 10.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.008681/13.35, allocations: 2.887 MB / 3.89 GB, free: 7.562 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/13.35, allocations: 73.41 kB / 3.89 GB, free: 7.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007299/13.36, allocations: 3.301 MB / 3.894 GB, free: 4.531 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007377/13.36, allocations: 29.7 kB / 3.894 GB, free: 4.496 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003153/13.37, allocations: 2.806 MB / 3.896 GB, free: 1.938 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/13.37, allocations: 0.751 MB / 3.897 GB, free: 1.242 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/13.37, allocations: 0 / 3.897 GB, free: 1.242 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002479/13.37, allocations: 413 kB / 3.897 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/13.37, allocations: 0.7296 MB / 3.898 GB, free: 176 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/13.37, allocations: 1.699 MB / 3.9 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/13.38, allocations: 1.366 MB / 3.901 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/13.38, allocations: 11.95 kB / 3.901 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009951/13.39, allocations: 3.459 MB / 3.905 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.8317/14.22, allocations: 10.32 MB / 3.915 GB, free: 63.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-05/14.22, allocations: 21 kB / 3.915 GB, free: 63.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/14.22, allocations: 343.4 kB / 3.915 GB, free: 63.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/14.22, allocations: 0.5248 MB / 3.916 GB, free: 63.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/14.22, allocations: 2.756 MB / 3.918 GB, free: 61.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/14.23, allocations: 499.2 kB / 3.919 GB, free: 61.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006361/14.23, allocations: 131.5 kB / 3.919 GB, free: 61.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/14.23, allocations: 9.188 kB / 3.919 GB, free: 61.05 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00726/14.24, allocations: 2.751 MB / 3.921 GB, free: 60.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/14.24, allocations: 20.03 kB / 3.922 GB, free: 60.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/14.24, allocations: 358.5 kB / 3.922 GB, free: 60.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/14.24, allocations: 0.5226 MB / 3.922 GB, free: 60.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007764/14.25, allocations: 7.402 MB / 3.93 GB, free: 55.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/14.25, allocations: 453.6 kB / 3.93 GB, free: 55.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000584/14.25, allocations: 130.7 kB / 3.93 GB, free: 55.67 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.0008493/14.26, allocations: 176.8 kB / 3.93 GB, free: 55.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007858/14.26, allocations: 2.748 MB / 3.933 GB, free: 55.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/14.27, allocations: 0.5068 MB / 3.933 GB, free: 55.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/14.27, allocations: 3.756 MB / 3.937 GB, free: 54.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/14.27, allocations: 35.02 kB / 3.937 GB, free: 54.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/14.27, allocations: 3.031 kB / 3.937 GB, free: 54.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005428/14.28, allocations: 2.616 MB / 3.94 GB, free: 54.67 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.01769/14.3, allocations: 8.099 MB / 3.948 GB, free: 53.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/14.3, allocations: 3.938 kB / 3.948 GB, free: 53.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/14.3, allocations: 384.1 kB / 3.948 GB, free: 53.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/14.3, allocations: 226.6 kB / 3.948 GB, free: 53.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/14.3, allocations: 38.77 kB / 3.948 GB, free: 53.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/14.3, allocations: 2.499 MB / 3.951 GB, free: 51.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/14.3, allocations: 3 kB / 3.951 GB, free: 51.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/14.31, allocations: 4.706 MB / 3.955 GB, free: 50.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/14.31, allocations: 0.9848 MB / 3.956 GB, free: 50 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/14.31, allocations: 5.781 kB / 3.956 GB, free: 50 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004541/14.32, allocations: 396.2 kB / 3.957 GB, free: 49.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/14.32, allocations: 159.7 kB / 3.957 GB, free: 49.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002886/14.32, allocations: 111.9 kB / 3.957 GB, free: 49.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004656/14.32, allocations: 2.45 MB / 3.959 GB, free: 49.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.51e-07/14.32, allocations: 0 / 3.959 GB, free: 49.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01582/14.34, allocations: 3.452 MB / 3.963 GB, free: 49.61 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.01582/14.36, allocations: 8.551 MB / 3.971 GB, free: 47.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007835/14.36, allocations: 4.246 MB / 3.975 GB, free: 46.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/14.36, allocations: 4.5 kB / 3.975 GB, free: 46.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/14.37, allocations: 1.234 MB / 3.976 GB, free: 46.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01551/14.38, allocations: 2.617 MB / 3.979 GB, free: 46.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/14.4, allocations: 8.352 MB / 3.987 GB, free: 44.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/14.41, allocations: 3.009 MB / 3.99 GB, free: 43.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.008109/14.41, allocations: 1.487 MB / 3.991 GB, free: 43.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003308/14.42, allocations: 2.453 MB / 3.994 GB, free: 43.66 MB / 0.8386 GB Notification: Performance of SimCode: time 1.413e-06/14.42, allocations: 0 / 3.994 GB, free: 43.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2696/14.69, allocations: 160.7 MB / 4.151 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/14.69, allocations: 161 kB / 4.151 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.12/23.81, allocations: 0 / 4.151 GB, free: 21.3 MB / 0.8386 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)