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.001424/0.001424, allocations: 174.1 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.7476/0.7476, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.738/1.738, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0008639/0.0008638, allocations: 101.8 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.127e-05, allocations: 11.83 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.459, allocations: 383.7 MB / 1.015 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.46, allocations: 91.89 kB / 1.015 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.78/13.24, allocations: 2.788 GB / 3.804 GB, free: 3.309 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.523e-06/13.24, allocations: 0 / 3.804 GB, free: 3.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001189/13.25, allocations: 171.9 kB / 3.804 GB, free: 3.141 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.02218/13.27, allocations: 5.93 MB / 3.81 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/13.27, allocations: 12.03 kB / 3.81 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002846/13.27, allocations: 0.5279 MB / 3.81 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/13.28, allocations: 0.7887 MB / 3.811 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9413/14.22, allocations: 60.64 MB / 3.87 GB, free: 42.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004608/14.22, allocations: 316.9 kB / 3.87 GB, free: 42.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/14.22, allocations: 422.8 kB / 3.871 GB, free: 42.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/14.23, allocations: 4.191 MB / 3.875 GB, free: 41.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003164/14.24, allocations: 16.56 kB / 3.875 GB, free: 41.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001456/14.24, allocations: 177 kB / 3.875 GB, free: 41.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/14.24, allocations: 118.7 kB / 3.875 GB, free: 41.35 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007314/14.24, allocations: 2.787 MB / 3.878 GB, free: 41.32 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.03223/14.28, allocations: 24.06 MB / 3.901 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/14.28, allocations: 2.907 MB / 3.904 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/14.28, allocations: 1.045 MB / 3.905 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002246/14.28, allocations: 3.935 MB / 3.909 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/14.28, allocations: 64.94 kB / 3.909 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 3.968e-06/14.28, allocations: 3.312 kB / 3.909 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.005525/14.29, allocations: 2.556 MB / 3.912 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/14.29, allocations: 80.16 kB / 3.912 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007374/14.3, allocations: 3.613 MB / 3.915 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005703/14.3, allocations: 77.7 kB / 3.915 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/14.3, allocations: 2.793 MB / 3.918 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009378/14.3, allocations: 0.7871 MB / 3.919 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/14.3, allocations: 52.75 kB / 3.919 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001404/14.3, allocations: 409 kB / 3.919 GB, free: 19.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/14.3, allocations: 0.7641 MB / 3.92 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/14.3, allocations: 1.756 MB / 3.922 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/14.3, allocations: 1.078 MB / 3.923 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/14.3, allocations: 6.938 kB / 3.923 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006054/14.31, allocations: 3.277 MB / 3.926 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003474/14.31, allocations: 10.36 MB / 3.936 GB, free: 22.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/14.31, allocations: 27.47 kB / 3.936 GB, free: 22.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/14.31, allocations: 392.5 kB / 3.937 GB, free: 22.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/14.32, allocations: 0.5313 MB / 3.937 GB, free: 22.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/14.32, allocations: 2.677 MB / 3.94 GB, free: 20.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/14.33, allocations: 0.5537 MB / 3.94 GB, free: 20.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005396/14.33, allocations: 133.2 kB / 3.94 GB, free: 20.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/14.33, allocations: 3.688 kB / 3.94 GB, free: 20.53 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005134/14.33, allocations: 2.733 MB / 3.943 GB, free: 20.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/14.33, allocations: 21.5 kB / 3.943 GB, free: 20.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009788/14.33, allocations: 378.7 kB / 3.943 GB, free: 20.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/14.33, allocations: 0.5324 MB / 3.944 GB, free: 20.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008223/14.34, allocations: 7.693 MB / 3.951 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006232/14.35, allocations: 0.5203 MB / 3.952 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/14.35, allocations: 126.8 kB / 3.952 GB, free: 14.65 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.0008891/14.35, allocations: 277.2 kB / 3.952 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/14.35, allocations: 0.5082 MB / 3.953 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007489/14.36, allocations: 3.724 MB / 3.957 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/14.36, allocations: 42.09 kB / 3.957 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/14.36, allocations: 0 / 3.957 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003522/14.36, allocations: 2.521 MB / 3.959 GB, free: 13.76 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.01604/14.38, allocations: 8.511 MB / 3.967 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/14.38, allocations: 7.266 kB / 3.967 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/14.38, allocations: 384.6 kB / 3.968 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/14.38, allocations: 300.8 kB / 3.968 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/14.38, allocations: 61.19 kB / 3.968 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/14.38, allocations: 2.494 MB / 3.97 GB, free: 26.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/14.38, allocations: 7.391 kB / 3.97 GB, free: 26.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007758/14.39, allocations: 4.651 MB / 3.975 GB, free: 25.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004094/14.4, allocations: 0.9915 MB / 3.976 GB, free: 24.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009394/14.4, allocations: 43.5 kB / 3.976 GB, free: 24.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003623/14.4, allocations: 444.4 kB / 3.976 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/14.4, allocations: 159.6 kB / 3.977 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/14.4, allocations: 123 kB / 3.977 GB, free: 24.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004534/14.41, allocations: 2.742 MB / 3.979 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/14.41, allocations: 1.281 kB / 3.979 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01585/14.42, allocations: 3.592 MB / 3.983 GB, free: 24.27 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 () * 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.01305/14.43, allocations: 8.501 MB / 3.991 GB, free: 21.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009634/14.44, allocations: 4.488 MB / 3.996 GB, free: 21.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/14.44, allocations: 0 / 3.996 GB, free: 21.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/14.45, allocations: 1.293 MB / 3.997 GB, free: 21.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01592/14.46, allocations: 2.71 MB / 4 GB, free: 21.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/14.48, allocations: 8.58 MB / 4.008 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/14.49, allocations: 3.007 MB / 4.011 GB, free: 17.89 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007682/14.49, allocations: 1.509 MB / 4.012 GB, free: 17.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/14.5, allocations: 2.452 MB / 4.015 GB, free: 17.57 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/14.5, allocations: 1.203 kB / 4.015 GB, free: 17.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/15.56, allocations: 183.4 MB / 4.194 GB, free: 83.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/15.56, allocations: 211.4 kB / 4.194 GB, free: 83.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/25.42, allocations: 2.719 kB / 4.194 GB, free: 83.14 MB / 0.8855 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)