Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7988/0.7988, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 172.8 kB / 164.6 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009853/0.0009851, allocations: 90.44 kB / 476.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.065e-05, allocations: 4 kB / 0.5467 GB, free: 60.42 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1819, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/1.547, allocations: 371.1 MB / 0.984 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.547, allocations: 95.75 kB / 0.9841 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 11/12.54, allocations: 2.618 GB / 3.602 GB, free: 41.17 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.536e-06/12.54, allocations: 7.156 kB / 3.602 GB, free: 41.17 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001104/12.54, allocations: 173.5 kB / 3.602 GB, free: 41.14 MB / 0.7917 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.02153/12.57, allocations: 5.893 MB / 3.608 GB, free: 38.39 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/12.57, allocations: 9.344 kB / 3.608 GB, free: 38.39 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/12.57, allocations: 0.7664 MB / 3.609 GB, free: 38.03 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1292/12.7, allocations: 58.48 MB / 3.666 GB, free: 34.85 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/12.7, allocations: 131.3 kB / 3.666 GB, free: 34.85 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/12.7, allocations: 252.2 kB / 3.666 GB, free: 34.85 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007667/12.71, allocations: 2.49 MB / 3.669 GB, free: 34.83 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007522/12.72, allocations: 3.536 MB / 3.672 GB, free: 34.07 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/12.72, allocations: 22.94 kB / 3.672 GB, free: 34.06 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/12.72, allocations: 5.438 kB / 3.672 GB, free: 34.06 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/12.72, allocations: 120.6 kB / 3.672 GB, free: 34.06 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 preOpt removeSimpleEquations (simulation): time 0.03312/12.75, allocations: 23.71 MB / 3.696 GB, free: 19.23 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/12.76, allocations: 2.827 MB / 3.698 GB, free: 18.07 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/12.76, allocations: 0.9515 MB / 3.699 GB, free: 18.05 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002319/12.76, allocations: 3.607 MB / 3.703 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/12.76, allocations: 62.5 kB / 3.703 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=220): time 5.34e-06/12.76, allocations: 2.25 kB / 3.703 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of matching and sorting (n=220): time 0.01919/12.78, allocations: 3.966 MB / 3.707 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/12.78, allocations: 75.25 kB / 3.707 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/12.79, allocations: 3.196 MB / 3.71 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0007281/12.79, allocations: 31.33 kB / 3.71 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/12.79, allocations: 2.825 MB / 3.713 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/12.79, allocations: 0.7349 MB / 3.713 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/12.79, allocations: 0 / 3.713 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001612/12.79, allocations: 404.1 kB / 3.714 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/12.79, allocations: 0.7672 MB / 3.715 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/12.79, allocations: 1.772 MB / 3.716 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/12.8, allocations: 1.393 MB / 3.718 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/12.8, allocations: 9.094 kB / 3.718 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01805/12.82, allocations: 4.344 MB / 3.722 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.006346/12.82, allocations: 11.41 MB / 3.733 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/12.82, allocations: 30.69 kB / 3.733 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/12.82, allocations: 500 kB / 3.734 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/12.83, allocations: 0.5275 MB / 3.734 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/12.83, allocations: 2.9 MB / 3.737 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007866/12.84, allocations: 0.5497 MB / 3.737 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007463/12.84, allocations: 139.9 kB / 3.738 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/12.84, allocations: 3.5 kB / 3.738 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007568/12.85, allocations: 2.714 MB / 3.74 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/12.85, allocations: 23.12 kB / 3.74 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/12.85, allocations: 324.4 kB / 3.741 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/12.85, allocations: 0.5263 MB / 3.741 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/12.86, allocations: 7.302 MB / 3.748 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/12.87, allocations: 453.9 kB / 3.749 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/12.87, allocations: 125.7 kB / 3.749 GB, free: 6.031 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 294 * 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.001412/12.87, allocations: 188 kB / 3.749 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01523/12.88, allocations: 3.472 MB / 3.752 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/12.89, allocations: 0.4929 MB / 3.753 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/12.9, allocations: 4.426 MB / 3.757 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/12.9, allocations: 35.45 kB / 3.757 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/12.9, allocations: 0 / 3.757 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01277/12.91, allocations: 3.338 MB / 3.76 GB, free: 4.535 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 postOpt removeSimpleEquations (simulation): time 0.02872/12.94, allocations: 8.814 MB / 3.769 GB, free: 19.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/12.94, allocations: 8.094 kB / 3.769 GB, free: 19.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/12.95, allocations: 372.9 kB / 3.769 GB, free: 19.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007709/12.95, allocations: 390 kB / 3.77 GB, free: 18.96 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/12.95, allocations: 46.91 kB / 3.77 GB, free: 18.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/12.96, allocations: 8.432 MB / 3.778 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/12.96, allocations: 0 / 3.778 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/12.98, allocations: 5.318 MB / 3.783 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004476/12.99, allocations: 0.9269 MB / 3.784 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/12.99, allocations: 3.312 kB / 3.784 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004253/12.99, allocations: 432.3 kB / 3.785 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004749/12.99, allocations: 170.1 kB / 3.785 GB, free: 12.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/12.99, allocations: 96.22 kB / 3.785 GB, free: 12.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004601/13, allocations: 2.366 MB / 3.787 GB, free: 12.22 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.61e-07/13, allocations: 0 / 3.787 GB, free: 12.22 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01993/13.02, allocations: 3.543 MB / 3.791 GB, free: 11.68 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (220): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * 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.02511/13.04, allocations: 9.312 MB / 3.8 GB, free: 8.832 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008502/13.05, allocations: 4.286 MB / 3.804 GB, free: 8.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/13.05, allocations: 0 / 3.804 GB, free: 8.148 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/13.05, allocations: 1.736 MB / 3.806 GB, free: 7.664 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/13.07, allocations: 2.627 MB / 3.808 GB, free: 7.504 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/13.1, allocations: 8.287 MB / 3.816 GB, free: 4.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/13.1, allocations: 3.003 MB / 3.819 GB, free: 4.078 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008073/13.11, allocations: 1.475 MB / 3.821 GB, free: 3.762 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003211/13.11, allocations: 2.471 MB / 3.823 GB, free: 3.746 MB / 0.823 GB Notification: Performance of SimCode: time 8.01e-07/13.11, allocations: 3.938 kB / 3.823 GB, free: 3.742 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.147/14.26, allocations: 170.7 MB / 3.99 GB, free: 76.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/14.26, allocations: 176.5 kB / 3.99 GB, free: 75.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.864/24.13, allocations: 0 / 3.99 GB, free: 75.92 MB / 0.8386 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)