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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007228/0.0007225, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007411/0.0007412, allocations: 171.2 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5997/0.5997, allocations: 113.7 MB / 405.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002594, allocations: 12 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1192, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7028/0.822, allocations: 277.6 MB / 0.8279 GB, free: 61.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04684/0.8689, allocations: 47.03 MB / 0.8739 GB, free: 60.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008367/0.8773, allocations: 260.9 kB / 0.8741 GB, free: 60.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.007045/0.8844, allocations: 2.388 MB / 0.8764 GB, free: 60.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01833/0.9027, allocations: 7.258 MB / 0.8835 GB, free: 60.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.9152, allocations: 4.777 MB / 0.8882 GB, free: 60.3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01975/0.935, allocations: 21.08 MB / 0.9088 GB, free: 53.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006223/0.9412, allocations: 4.298 MB / 0.913 GB, free: 51.92 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009825/0.951, allocations: 5.893 MB / 0.9187 GB, free: 49.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006413/0.9575, allocations: 4.608 MB / 0.9232 GB, free: 47.47 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.9587, allocations: 228 kB / 0.9235 GB, free: 47.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008252/0.9669, allocations: 2.639 MB / 0.926 GB, free: 45.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000924/0.9679, allocations: 1.06 MB / 0.9271 GB, free: 44.42 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.9696, allocations: 1.373 MB / 0.9284 GB, free: 43.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/0.9757, allocations: 7.447 MB / 0.9357 GB, free: 37.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9757, allocations: 0 / 0.9357 GB, free: 37.27 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9757, allocations: 0 / 0.9357 GB, free: 37.27 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.435e-05/0.9758, allocations: 0 / 0.9357 GB, free: 37.27 MB / 0.6231 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.00662/0.9824, allocations: 6.277 MB / 0.9418 GB, free: 31.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.9824, allocations: 8.031 kB / 0.9418 GB, free: 31.45 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004804/0.9829, allocations: 0.5351 MB / 0.9423 GB, free: 31.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9841, allocations: 0.7803 MB / 0.9431 GB, free: 30.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.99, allocations: 5.007 MB / 0.948 GB, free: 26.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.9901, allocations: 331.4 kB / 0.9483 GB, free: 26.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.9905, allocations: 429.9 kB / 0.9487 GB, free: 26.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/0.9955, allocations: 4.355 MB / 0.953 GB, free: 21.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-05/0.9956, allocations: 7.938 kB / 0.953 GB, free: 21.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.9958, allocations: 176 kB / 0.9531 GB, free: 21.4 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.9959, allocations: 117 kB / 0.9533 GB, free: 21.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003624/0.9995, allocations: 2.949 MB / 0.9561 GB, free: 18.33 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01604/1.016, allocations: 25.04 MB / 0.9806 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/1.018, allocations: 2.751 MB / 0.9833 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/1.019, allocations: 0.9915 MB / 0.9842 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002344/1.022, allocations: 3.921 MB / 0.9881 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.022, allocations: 65.09 kB / 0.9881 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=217): time 3.586e-06/1.022, allocations: 4 kB / 0.9881 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217): time 0.007931/1.03, allocations: 4.064 MB / 0.9921 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/1.03, allocations: 77.41 kB / 0.9922 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/1.034, allocations: 4.186 MB / 0.9963 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.034, allocations: 77.7 kB / 0.9963 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.036, allocations: 2.803 MB / 0.9991 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/1.037, allocations: 0.7687 MB / 0.9998 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.037, allocations: 56 kB / 0.9999 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.037, allocations: 415.9 kB / 1 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/1.038, allocations: 0.7787 MB / 1.001 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/1.04, allocations: 1.794 MB / 1.003 GB, free: 15.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/1.041, allocations: 1.086 MB / 1.004 GB, free: 14.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.041, allocations: 4 kB / 1.004 GB, free: 14.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.005734/1.047, allocations: 3.49 MB / 1.007 GB, free: 10.53 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003669/1.048, allocations: 0.7433 MB / 1.008 GB, free: 9.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/1.048, allocations: 23.95 kB / 1.008 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/1.05, allocations: 0.5616 MB / 1.009 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.051, allocations: 0.55 MB / 1.009 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/1.053, allocations: 2.695 MB / 1.012 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/1.056, allocations: 0.5994 MB / 1.012 GB, free: 4.941 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/1.056, allocations: 136 kB / 1.012 GB, free: 4.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/1.056, allocations: 7.938 kB / 1.012 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004036/1.06, allocations: 2.802 MB / 1.015 GB, free: 1.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.06, allocations: 24.25 kB / 1.015 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/1.061, allocations: 367.1 kB / 1.016 GB, free: 1.551 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.062, allocations: 0.5616 MB / 1.016 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/1.069, allocations: 7.702 MB / 1.024 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/1.072, allocations: 0.5519 MB / 1.024 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.072, allocations: 132 kB / 1.024 GB, free: 8.047 MB / 0.6856 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * 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.001676/1.074, allocations: 1.009 MB / 1.025 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/1.075, allocations: 0.5055 MB / 1.026 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005102/1.08, allocations: 3.57 MB / 1.029 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/1.08, allocations: 35.97 kB / 1.029 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.08, allocations: 7.984 kB / 1.029 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003232/1.083, allocations: 2.435 MB / 1.032 GB, free: 376 kB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009934/1.093, allocations: 8.202 MB / 1.04 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.093, allocations: 0 / 1.04 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.094, allocations: 367.5 kB / 1.04 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/1.095, allocations: 302.3 kB / 1.04 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.095, allocations: 59.97 kB / 1.04 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/1.096, allocations: 2.507 MB / 1.043 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.096, allocations: 4 kB / 1.043 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005576/1.102, allocations: 4.32 MB / 1.047 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.103, allocations: 0.9739 MB / 1.048 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/1.104, allocations: 48 kB / 1.048 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.106, allocations: 430 kB / 1.048 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.106, allocations: 152.1 kB / 1.049 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.107, allocations: 119.9 kB / 1.049 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003508/1.11, allocations: 2.746 MB / 1.051 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.11, allocations: 0 / 1.051 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007292/1.117, allocations: 3.249 MB / 1.055 GB, free: 8.527 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * 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.00721/1.125, allocations: 6.046 MB / 1.06 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00596/1.131, allocations: 4.399 MB / 1.065 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.131, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.132, allocations: 1.236 MB / 1.066 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009403/1.142, allocations: 2.648 MB / 1.069 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2672/1.409, allocations: 35.97 MB / 1.104 GB, free: 319.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/1.411, allocations: 2.873 MB / 1.107 GB, free: 318.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004195/1.415, allocations: 1.155 MB / 1.108 GB, free: 318.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/1.418, allocations: 2.535 MB / 1.11 GB, free: 316.6 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/1.418, allocations: 0 / 1.11 GB, free: 316.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1569/1.575, allocations: 147.6 MB / 1.254 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/1.575, allocations: 246.5 kB / 1.254 GB, free: 192.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.001/6.576, allocations: 3.938 kB / 1.254 GB, free: 192.2 MB / 0.7481 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) Environment - environmentSimulation: