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.00145/0.001451, allocations: 96.27 kB / 15.69 MB, free: 480 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.002235/0.002235, allocations: 177 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.631/2.631, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.291/1.291, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005693/0.0005693, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3045, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.075/1.379, allocations: 250.9 MB / 0.8018 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.9403/2.32, allocations: 43.07 MB / 0.8438 GB, free: 63.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02269/2.342, allocations: 246.2 kB / 0.8441 GB, free: 63.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.02649/2.369, allocations: 2.98 MB / 0.847 GB, free: 63.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.07211/2.441, allocations: 9.226 MB / 0.856 GB, free: 62.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.04312/2.484, allocations: 5.98 MB / 0.8618 GB, free: 62.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.05229/2.537, allocations: 10.84 MB / 0.8724 GB, free: 62.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01964/2.557, allocations: 4.319 MB / 0.8766 GB, free: 62.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02856/2.585, allocations: 5.407 MB / 0.8819 GB, free: 61.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01627/2.602, allocations: 3.208 MB / 0.8851 GB, free: 61.2 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.005681/2.607, allocations: 232 kB / 0.8853 GB, free: 61.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02972/2.637, allocations: 2.788 MB / 0.888 GB, free: 60.94 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006642/2.644, allocations: 1.033 MB / 0.889 GB, free: 60.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01013/2.654, allocations: 1.381 MB / 0.8904 GB, free: 60.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02939/2.684, allocations: 7.307 MB / 0.8975 GB, free: 56.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/2.684, allocations: 0 / 0.8975 GB, free: 56.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.414e-06/2.684, allocations: 0 / 0.8975 GB, free: 56.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0007135/2.685, allocations: 0 / 0.8975 GB, free: 56.95 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.02935/2.714, allocations: 6.247 MB / 0.9036 GB, free: 53.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001325/2.714, allocations: 9.406 kB / 0.9036 GB, free: 53.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005132/2.719, allocations: 0.5425 MB / 0.9041 GB, free: 52.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009308/2.729, allocations: 0.7836 MB / 0.9049 GB, free: 52.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/2.756, allocations: 4.705 MB / 0.9095 GB, free: 50.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/2.756, allocations: 317.7 kB / 0.9098 GB, free: 50.64 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/2.759, allocations: 434.7 kB / 0.9102 GB, free: 50.64 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/2.783, allocations: 4.32 MB / 0.9144 GB, free: 47.92 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/2.783, allocations: 20.72 kB / 0.9145 GB, free: 47.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/2.785, allocations: 173.3 kB / 0.9146 GB, free: 47.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/2.785, allocations: 126 kB / 0.9147 GB, free: 47.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/2.798, allocations: 2.937 MB / 0.9176 GB, free: 45.88 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.0499/2.848, allocations: 25.18 MB / 0.9422 GB, free: 23.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/2.851, allocations: 2.756 MB / 0.9449 GB, free: 20.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003537/2.855, allocations: 3.904 MB / 0.9487 GB, free: 16.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/2.855, allocations: 67.73 kB / 0.9488 GB, free: 16.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=217): time 1.028e-05/2.855, allocations: 0 / 0.9488 GB, free: 16.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=217): time 0.01865/2.874, allocations: 4.057 MB / 0.9527 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/2.874, allocations: 77.36 kB / 0.9528 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/2.89, allocations: 4.409 MB / 0.9571 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/2.891, allocations: 82.7 kB / 0.9572 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.004585/2.896, allocations: 2.785 MB / 0.9599 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/2.898, allocations: 0.7619 MB / 0.9606 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/2.898, allocations: 57.25 kB / 0.9607 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000264/2.898, allocations: 415.2 kB / 0.9611 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/2.901, allocations: 0.787 MB / 0.9619 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/2.904, allocations: 1.781 MB / 0.9636 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/2.907, allocations: 1.075 MB / 0.9647 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/2.907, allocations: 4 kB / 0.9647 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01293/2.92, allocations: 3.499 MB / 0.9681 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.006728/2.927, allocations: 10.32 MB / 0.9782 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/2.927, allocations: 20 kB / 0.9782 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/2.931, allocations: 0.5721 MB / 0.9787 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/2.935, allocations: 0.5558 MB / 0.9793 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/2.939, allocations: 2.682 MB / 0.9819 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/2.95, allocations: 0.6176 MB / 0.9825 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/2.951, allocations: 138.8 kB / 0.9826 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/2.951, allocations: 4 kB / 0.9826 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009392/2.961, allocations: 2.805 MB / 0.9854 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.756e-05/2.961, allocations: 20 kB / 0.9854 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/2.962, allocations: 366 kB / 0.9857 GB, free: 20 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/2.966, allocations: 0.5587 MB / 0.9863 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/2.981, allocations: 7.791 MB / 0.9939 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009997/2.991, allocations: 0.5637 MB / 0.9944 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/2.992, allocations: 132 kB / 0.9946 GB, free: 7.273 MB / 0.6544 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.005428/2.998, allocations: 1.008 MB / 0.9956 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003394/3.001, allocations: 0.5056 MB / 0.9961 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/3.013, allocations: 3.573 MB / 0.9995 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.961e-05/3.014, allocations: 39.97 kB / 0.9996 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/3.014, allocations: 0 / 0.9996 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006663/3.02, allocations: 2.42 MB / 1.002 GB, free: 15.61 MB / 0.67 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.02944/3.05, allocations: 8.295 MB / 1.01 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/3.05, allocations: 0 / 1.01 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/3.052, allocations: 363.7 kB / 1.01 GB, free: 6.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/3.053, allocations: 306.3 kB / 1.011 GB, free: 6.449 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/3.054, allocations: 67.97 kB / 1.011 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/3.057, allocations: 2.493 MB / 1.013 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/3.057, allocations: 4 kB / 1.013 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/3.072, allocations: 4.429 MB / 1.018 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006907/3.079, allocations: 1.031 MB / 1.019 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003168/3.082, allocations: 43.94 kB / 1.019 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008776/3.091, allocations: 439.1 kB / 1.019 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008308/3.092, allocations: 145.8 kB / 1.019 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005538/3.092, allocations: 115.9 kB / 1.019 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.01161/3.104, allocations: 2.922 MB / 1.022 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.41e-07/3.104, allocations: 0 / 1.022 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.02751/3.132, allocations: 3.316 MB / 1.025 GB, free: 7.266 MB / 0.6856 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.02086/3.153, allocations: 6.396 MB / 1.032 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01554/3.168, allocations: 4.397 MB / 1.036 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/3.168, allocations: 4.125 kB / 1.036 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/3.172, allocations: 1.226 MB / 1.037 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02483/3.197, allocations: 2.605 MB / 1.04 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06917/3.267, allocations: 29.38 MB / 1.068 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/3.277, allocations: 2.989 MB / 1.071 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.01235/3.289, allocations: 1.172 MB / 1.072 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008085/3.298, allocations: 2.534 MB / 1.075 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of SimCode: time 8.736e-06/3.298, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/4.323, allocations: 148 MB / 1.219 GB, free: 224.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/4.323, allocations: 245.7 kB / 1.22 GB, free: 224.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/16.27, allocations: 0 / 1.22 GB, free: 224.5 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: