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.00116/0.00116, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001463/0.001463, allocations: 210.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9985/0.9985, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.975/1.975, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001002/0.001002, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7986, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02778/0.8264, allocations: 38.46 MB / 1.39 GB, free: 11.08 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.8378, allocations: 9.638 MB / 1.399 GB, free: 1.422 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.8395, allocations: 75.38 kB / 1.399 GB, free: 1.348 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.841, allocations: 0.6404 MB / 1.4 GB, free: 0.7031 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.8453, allocations: 2.004 MB / 1.402 GB, free: 14.69 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.8475, allocations: 1.203 MB / 1.403 GB, free: 13.5 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.003908/0.8514, allocations: 3.422 MB / 1.407 GB, free: 10.07 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.8525, allocations: 0.7807 MB / 1.407 GB, free: 9.27 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.8553, allocations: 1.474 MB / 1.409 GB, free: 7.797 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.8566, allocations: 0.8748 MB / 1.41 GB, free: 6.918 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.8568, allocations: 104 kB / 1.41 GB, free: 6.816 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.8583, allocations: 0.7134 MB / 1.41 GB, free: 6.102 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.8585, allocations: 290.8 kB / 1.411 GB, free: 5.816 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.859, allocations: 0.5133 MB / 1.411 GB, free: 5.301 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.8619, allocations: 1.962 MB / 1.413 GB, free: 3.332 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8619, allocations: 0 / 1.413 GB, free: 3.332 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8619, allocations: 0 / 1.413 GB, free: 3.332 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.8619, allocations: 0 / 1.413 GB, free: 3.332 MB / 1.089 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.001895/0.8638, allocations: 1.477 MB / 1.415 GB, free: 1.816 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8639, allocations: 8.922 kB / 1.415 GB, free: 1.809 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.864, allocations: 118.7 kB / 1.415 GB, free: 1.684 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.8643, allocations: 136.1 kB / 1.415 GB, free: 1.551 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.8656, allocations: 1.059 MB / 1.416 GB, free: 468 kB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.8657, allocations: 50 kB / 1.416 GB, free: 416 kB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.8657, allocations: 75.95 kB / 1.416 GB, free: 340 kB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.8667, allocations: 0.9449 MB / 1.417 GB, free: 15.32 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.8668, allocations: 3.938 kB / 1.417 GB, free: 15.32 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.8668, allocations: 32 kB / 1.417 GB, free: 15.29 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.8668, allocations: 24 kB / 1.417 GB, free: 15.26 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.8676, allocations: 0.5711 MB / 1.418 GB, free: 14.69 MB / 1.104 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.00279/0.8704, allocations: 2.736 MB / 1.42 GB, free: 11.86 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.8708, allocations: 239 kB / 1.42 GB, free: 11.61 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.871, allocations: 161.3 kB / 1.421 GB, free: 11.45 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.8712, allocations: 67.95 kB / 1.421 GB, free: 11.39 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.8712, allocations: 50.42 kB / 1.421 GB, free: 11.33 MB / 1.104 GB Notification: Performance of pre-optimization done (n=31): time 3.888e-06/0.8712, allocations: 0 / 1.421 GB, free: 11.33 MB / 1.104 GB Notification: Performance of matching and sorting (n=31): time 0.0007787/0.872, allocations: 0.5164 MB / 1.421 GB, free: 10.8 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.872, allocations: 55.41 kB / 1.421 GB, free: 10.74 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8731, allocations: 0.965 MB / 1.422 GB, free: 9.754 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.8732, allocations: 29.7 kB / 1.422 GB, free: 9.719 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.8735, allocations: 0.4966 MB / 1.423 GB, free: 9.215 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 9.022e-05/0.8736, allocations: 126.9 kB / 1.423 GB, free: 9.09 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.8737, allocations: 114.3 kB / 1.423 GB, free: 8.973 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.8737, allocations: 333.9 kB / 1.423 GB, free: 8.641 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.874, allocations: 165.2 kB / 1.423 GB, free: 8.48 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.8743, allocations: 0.4942 MB / 1.424 GB, free: 7.871 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.8749, allocations: 0.5186 MB / 1.424 GB, free: 7.281 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8749, allocations: 0 / 1.424 GB, free: 7.281 MB / 1.104 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00102/0.8759, allocations: 0.6296 MB / 1.425 GB, free: 6.645 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8759, allocations: 10.66 kB / 1.425 GB, free: 6.637 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8759, allocations: 4 kB / 1.425 GB, free: 6.633 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.8759, allocations: 8.062 kB / 1.425 GB, free: 6.625 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.8762, allocations: 131.8 kB / 1.425 GB, free: 6.496 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8762, allocations: 11.94 kB / 1.425 GB, free: 6.484 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.8766, allocations: 79.64 kB / 1.425 GB, free: 6.406 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.8767, allocations: 31.94 kB / 1.425 GB, free: 6.375 MB / 1.104 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.0003018/0.877, allocations: 277.6 kB / 1.426 GB, free: 6.094 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.8771, allocations: 107.3 kB / 1.426 GB, free: 5.988 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.8777, allocations: 486.9 kB / 1.426 GB, free: 5.508 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.8777, allocations: 4 kB / 1.426 GB, free: 5.504 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8777, allocations: 4 kB / 1.426 GB, free: 5.5 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004425/0.8782, allocations: 459 kB / 1.427 GB, free: 5.023 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.8796, allocations: 1.233 MB / 1.428 GB, free: 3.727 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.8796, allocations: 0 / 1.428 GB, free: 3.727 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.8798, allocations: 87.75 kB / 1.428 GB, free: 3.641 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.8798, allocations: 4 kB / 1.428 GB, free: 3.637 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.8798, allocations: 8 kB / 1.428 GB, free: 3.629 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8798, allocations: 4 kB / 1.428 GB, free: 3.625 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8798, allocations: 3.938 kB / 1.428 GB, free: 3.621 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.8806, allocations: 0.7849 MB / 1.429 GB, free: 2.805 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.8809, allocations: 155.1 kB / 1.429 GB, free: 2.652 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.8809, allocations: 8 kB / 1.429 GB, free: 2.645 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.8812, allocations: 31.97 kB / 1.429 GB, free: 2.613 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.8813, allocations: 27.89 kB / 1.429 GB, free: 2.586 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8813, allocations: 24.05 kB / 1.429 GB, free: 2.562 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.000592/0.8819, allocations: 0.6668 MB / 1.43 GB, free: 1.887 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8819, allocations: 0 / 1.43 GB, free: 1.887 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.000718/0.8826, allocations: 339.3 kB / 1.43 GB, free: 1.555 MB / 1.104 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.001444/0.8841, allocations: 1.575 MB / 1.431 GB, free: 15.93 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.8846, allocations: 407.3 kB / 1.432 GB, free: 15.54 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8846, allocations: 1.375 kB / 1.432 GB, free: 15.54 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.8851, allocations: 193 kB / 1.432 GB, free: 15.35 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.8865, allocations: 0.5872 MB / 1.433 GB, free: 14.77 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.8934, allocations: 6.851 MB / 1.439 GB, free: 7.625 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.8937, allocations: 465.2 kB / 1.44 GB, free: 7.137 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0006045/0.8943, allocations: 200.4 kB / 1.44 GB, free: 6.941 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.8947, allocations: 375.3 kB / 1.44 GB, free: 6.574 MB / 1.12 GB Notification: Performance of SimCode: time 1.202e-06/0.8947, allocations: 3.938 kB / 1.44 GB, free: 6.57 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.012, allocations: 32.42 MB / 1.472 GB, free: 6.797 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.615, allocations: 7.312 kB / 1.472 GB, free: 6.793 MB / 1.151 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: 13.609009493142366]