Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_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.001046/0.001046, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4725/0.4725, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.3 MB / 348.3 MB, free: 424 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009161, allocations: 99.67 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.535e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4339, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/1.221, allocations: 374 MB / 0.9256 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.222, allocations: 90.45 kB / 0.9257 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.72/11.94, allocations: 2.797 GB / 3.723 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.556e-06/11.94, allocations: 4 kB / 3.723 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009854/11.94, allocations: 178.5 kB / 3.723 GB, free: 7.309 MB / 0.7448 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.02056/11.96, allocations: 5.916 MB / 3.729 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/11.96, allocations: 11.98 kB / 3.729 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002199/11.96, allocations: 0.5401 MB / 3.73 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/11.97, allocations: 0.7721 MB / 3.73 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8656/12.83, allocations: 60.65 MB / 3.79 GB, free: 33.31 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/12.83, allocations: 319.9 kB / 3.79 GB, free: 33.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009666/12.83, allocations: 421.6 kB / 3.79 GB, free: 33.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/12.84, allocations: 4.188 MB / 3.794 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/12.84, allocations: 16.72 kB / 3.794 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004839/12.84, allocations: 176.2 kB / 3.795 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/12.84, allocations: 121.9 kB / 3.795 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005426/12.85, allocations: 2.783 MB / 3.797 GB, free: 32.48 MB / 0.7605 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.03113/12.88, allocations: 24.06 MB / 3.821 GB, free: 18.41 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/12.88, allocations: 2.914 MB / 3.824 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/12.88, allocations: 1.048 MB / 3.825 GB, free: 17.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003606/12.89, allocations: 3.934 MB / 3.829 GB, free: 28.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/12.89, allocations: 69.09 kB / 3.829 GB, free: 28.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=225): time 3.967e-06/12.89, allocations: 0 / 3.829 GB, free: 28.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.005555/12.89, allocations: 2.559 MB / 3.831 GB, free: 28.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/12.89, allocations: 75.81 kB / 3.831 GB, free: 28.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/12.9, allocations: 3.618 MB / 3.835 GB, free: 27.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003924/12.9, allocations: 79.02 kB / 3.835 GB, free: 27.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/12.9, allocations: 2.783 MB / 3.838 GB, free: 27.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008521/12.9, allocations: 0.7822 MB / 3.838 GB, free: 26.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/12.9, allocations: 51.66 kB / 3.838 GB, free: 26.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002145/12.9, allocations: 414 kB / 3.839 GB, free: 26.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/12.9, allocations: 0.764 MB / 3.84 GB, free: 26.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/12.9, allocations: 1.758 MB / 3.841 GB, free: 25.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/12.91, allocations: 1.072 MB / 3.842 GB, free: 25.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/12.91, allocations: 5.531 kB / 3.842 GB, free: 25.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006174/12.91, allocations: 3.273 MB / 3.846 GB, free: 24.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003793/12.92, allocations: 10.37 MB / 3.856 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/12.92, allocations: 24.53 kB / 3.856 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/12.92, allocations: 403.5 kB / 3.856 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/12.92, allocations: 0.5223 MB / 3.857 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/12.92, allocations: 2.679 MB / 3.859 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00667/12.93, allocations: 0.5551 MB / 3.86 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000625/12.93, allocations: 133 kB / 3.86 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/12.93, allocations: 5.75 kB / 3.86 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006078/12.94, allocations: 2.738 MB / 3.863 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/12.94, allocations: 21.66 kB / 3.863 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/12.94, allocations: 370.8 kB / 3.863 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/12.94, allocations: 0.5253 MB / 3.863 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/12.95, allocations: 7.698 MB / 3.871 GB, free: 21.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/12.96, allocations: 0.5136 MB / 3.871 GB, free: 21.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008105/12.96, allocations: 130.9 kB / 3.872 GB, free: 21.77 MB / 0.7917 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.00142/12.96, allocations: 277.8 kB / 3.872 GB, free: 21.65 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/12.96, allocations: 0.5084 MB / 3.872 GB, free: 21.39 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008471/12.97, allocations: 3.722 MB / 3.876 GB, free: 21.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/12.97, allocations: 34.84 kB / 3.876 GB, free: 21.09 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/12.97, allocations: 3.344 kB / 3.876 GB, free: 21.09 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004314/12.97, allocations: 2.529 MB / 3.878 GB, free: 20.88 MB / 0.7917 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.02157/13, allocations: 8.509 MB / 3.887 GB, free: 19.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/13, allocations: 2.25 kB / 3.887 GB, free: 19.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/13, allocations: 382.4 kB / 3.887 GB, free: 19.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/13, allocations: 301.2 kB / 3.887 GB, free: 19.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/13, allocations: 70.45 kB / 3.887 GB, free: 19.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/13, allocations: 2.487 MB / 3.89 GB, free: 17.22 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/13, allocations: 4.25 kB / 3.89 GB, free: 17.22 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009395/13.01, allocations: 4.656 MB / 3.894 GB, free: 16.44 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004601/13.01, allocations: 0.9971 MB / 3.895 GB, free: 16.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/13.02, allocations: 42.25 kB / 3.895 GB, free: 16.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005913/13.02, allocations: 442.6 kB / 3.896 GB, free: 16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/13.02, allocations: 156.5 kB / 3.896 GB, free: 16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005103/13.02, allocations: 115.1 kB / 3.896 GB, free: 16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.007903/13.03, allocations: 2.743 MB / 3.899 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.21e-07/13.03, allocations: 0 / 3.899 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01733/13.05, allocations: 3.591 MB / 3.902 GB, free: 15.39 MB / 0.7917 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.01779/13.07, allocations: 8.517 MB / 3.911 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009299/13.08, allocations: 4.497 MB / 3.915 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/13.08, allocations: 2.656 kB / 3.915 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/13.08, allocations: 1.286 MB / 3.916 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01625/13.09, allocations: 2.701 MB / 3.919 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/13.12, allocations: 8.59 MB / 3.927 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/13.12, allocations: 3.002 MB / 3.93 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.008038/13.13, allocations: 1.508 MB / 3.932 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002953/13.13, allocations: 2.461 MB / 3.934 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of SimCode: time 1.953e-06/13.13, allocations: 0 / 3.934 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/14.17, allocations: 183.4 MB / 4.113 GB, free: 89.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/14.17, allocations: 212.2 kB / 4.113 GB, free: 89.18 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.908/23.08, allocations: 3.938 kB / 4.113 GB, free: 89.18 MB / 0.823 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)