Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8778/0.8778, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.833/1.833, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.286e-05, allocations: 9.734 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0264/0.02641, allocations: 38.17 MB / 1.038 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4702/0.4967, allocations: 9.648 MB / 1.047 GB, free: 43.83 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.4981, allocations: 80.81 kB / 1.047 GB, free: 43.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4992, allocations: 0.6389 MB / 1.048 GB, free: 43.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.5019, allocations: 2.06 MB / 1.05 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.5034, allocations: 1.245 MB / 1.051 GB, free: 43.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.5052, allocations: 3.456 MB / 1.055 GB, free: 42.84 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.5058, allocations: 0.7834 MB / 1.055 GB, free: 42.75 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.5076, allocations: 1.873 MB / 1.057 GB, free: 42.54 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.5082, allocations: 0.785 MB / 1.058 GB, free: 42.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.5083, allocations: 98 kB / 1.058 GB, free: 42.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.509, allocations: 0.7263 MB / 1.059 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.5092, allocations: 304.1 kB / 1.059 GB, free: 42.3 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.5095, allocations: 434.7 kB / 1.06 GB, free: 42.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5107, allocations: 1.969 MB / 1.061 GB, free: 42.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5107, allocations: 0 / 1.061 GB, free: 42.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5108, allocations: 0 / 1.061 GB, free: 42.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5108, allocations: 0 / 1.061 GB, free: 42.06 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001316/0.5121, allocations: 1.462 MB / 1.063 GB, free: 41.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5121, allocations: 18.84 kB / 1.063 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.985e-05/0.5122, allocations: 114 kB / 1.063 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.5124, allocations: 141.1 kB / 1.063 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.5134, allocations: 1.053 MB / 1.064 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.5134, allocations: 52.5 kB / 1.064 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.5135, allocations: 74.97 kB / 1.064 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.5143, allocations: 0.9399 MB / 1.065 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5143, allocations: 3.188 kB / 1.065 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.5143, allocations: 32.56 kB / 1.065 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.5144, allocations: 24.38 kB / 1.065 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.515, allocations: 0.5667 MB / 1.066 GB, free: 40.57 MB / 0.9948 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.001939/0.5169, allocations: 2.734 MB / 1.068 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.5173, allocations: 250.9 kB / 1.069 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.5175, allocations: 160.7 kB / 1.069 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.5176, allocations: 65.83 kB / 1.069 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5176, allocations: 44.02 kB / 1.069 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.5176, allocations: 0 / 1.069 GB, free: 38.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.000627/0.5182, allocations: 0.5149 MB / 1.069 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/0.5183, allocations: 58.56 kB / 1.07 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/0.5189, allocations: 0.9604 MB / 1.07 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.5189, allocations: 32.2 kB / 1.071 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.5191, allocations: 0.501 MB / 1.071 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.5192, allocations: 115.3 kB / 1.071 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.5193, allocations: 110.6 kB / 1.071 GB, free: 37.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.5193, allocations: 331 kB / 1.072 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.5195, allocations: 166.4 kB / 1.072 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.5198, allocations: 0.4982 MB / 1.072 GB, free: 36.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.5202, allocations: 0.5082 MB / 1.073 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5202, allocations: 2.969 kB / 1.073 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006127/0.5208, allocations: 0.6268 MB / 1.073 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5208, allocations: 12.41 kB / 1.073 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5208, allocations: 2.938 kB / 1.073 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5209, allocations: 11.89 kB / 1.073 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.5211, allocations: 120.8 kB / 1.073 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.5211, allocations: 10.91 kB / 1.073 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5214, allocations: 88.08 kB / 1.074 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5214, allocations: 25 kB / 1.074 GB, free: 36.25 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.5216, allocations: 281.5 kB / 1.074 GB, free: 36.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.5217, allocations: 106.5 kB / 1.074 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.5222, allocations: 487.6 kB / 1.074 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5223, allocations: 2.625 kB / 1.074 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5223, allocations: 0 / 1.074 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003766/0.5226, allocations: 460.5 kB / 1.075 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.5237, allocations: 1.248 MB / 1.076 GB, free: 34.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5237, allocations: 6.906 kB / 1.076 GB, free: 34.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5239, allocations: 76.91 kB / 1.076 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5239, allocations: 2.781 kB / 1.076 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5239, allocations: 10.19 kB / 1.076 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5239, allocations: 2.75 kB / 1.076 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5239, allocations: 3.938 kB / 1.076 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.5246, allocations: 0.7769 MB / 1.077 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.5248, allocations: 154.1 kB / 1.077 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.5248, allocations: 11.25 kB / 1.077 GB, free: 34.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.5251, allocations: 27.86 kB / 1.077 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.5251, allocations: 36.61 kB / 1.077 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.5251, allocations: 24.17 kB / 1.077 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004917/0.5256, allocations: 0.6643 MB / 1.078 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5256, allocations: 0 / 1.078 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005249/0.5262, allocations: 345.8 kB / 1.078 GB, free: 34 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5273, allocations: 1.587 MB / 1.08 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006159/0.5279, allocations: 407.6 kB / 1.08 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5279, allocations: 1 kB / 1.08 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.5282, allocations: 177.5 kB / 1.08 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5296, allocations: 0.5921 MB / 1.081 GB, free: 32.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.5358, allocations: 6.831 MB / 1.087 GB, free: 29.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.5361, allocations: 447 kB / 1.088 GB, free: 28.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.5365, allocations: 200.3 kB / 1.088 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.5368, allocations: 377.6 kB / 1.088 GB, free: 28.63 MB / 0.9948 GB Notification: Performance of SimCode: time 5.21e-07/0.5368, allocations: 0 / 1.088 GB, free: 28.63 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/0.6658, allocations: 32.51 MB / 1.12 GB, free: 24.33 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.452, allocations: 4.25 kB / 1.12 GB, free: 24.33 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.97873760946095]