Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001062/0.001062, 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.0009062/0.0009062, 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.9062/0.9062, 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.873/1.873, allocations: 389.5 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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.373e-05, allocations: 6.219 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6141/0.6141, allocations: 131 MB / 1.129 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.6152, allocations: 1.039 MB / 1.13 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.6153, allocations: 2.531 kB / 1.13 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.6156, allocations: 51.92 kB / 1.13 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.6162, allocations: 321 kB / 1.13 GB, free: 1.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.6164, allocations: 167 kB / 1.13 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.6168, allocations: 237.1 kB / 1.13 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.6169, allocations: 46.45 kB / 1.13 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.6171, allocations: 77.98 kB / 1.131 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.6172, allocations: 48.62 kB / 1.131 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.6172, allocations: 11.12 kB / 1.131 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.6176, allocations: 235.6 kB / 1.131 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.6176, allocations: 31.86 kB / 1.131 GB, free: 1.578 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.6177, allocations: 40.52 kB / 1.131 GB, free: 1.559 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.6181, allocations: 289.4 kB / 1.131 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6181, allocations: 0 / 1.131 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6181, allocations: 0 / 1.131 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.6181, allocations: 1.094 kB / 1.131 GB, free: 1.453 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005302/0.6186, allocations: 398.2 kB / 1.132 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6187, allocations: 11.56 kB / 1.132 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.6187, allocations: 44.5 kB / 1.132 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.619, allocations: 49.94 kB / 1.132 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.6193, allocations: 155.5 kB / 1.132 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6193, allocations: 14.97 kB / 1.132 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.6193, allocations: 10.94 kB / 1.132 GB, free: 0.8867 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.6195, allocations: 110.9 kB / 1.132 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6195, allocations: 0 / 1.132 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6195, allocations: 9.781 kB / 1.132 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6195, allocations: 2.156 kB / 1.132 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.6197, allocations: 100.5 kB / 1.132 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.6201, allocations: 395.8 kB / 1.132 GB, free: 480 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.6203, allocations: 91.5 kB / 1.133 GB, free: 428 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.6204, allocations: 39.95 kB / 1.133 GB, free: 408 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.6204, allocations: 1.844 kB / 1.133 GB, free: 408 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.6204, allocations: 37.64 kB / 1.133 GB, free: 364 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.6204, allocations: 0 / 1.133 GB, free: 364 kB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.000291/0.6207, allocations: 140.1 kB / 1.133 GB, free: 296 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.6207, allocations: 53.09 kB / 1.133 GB, free: 232 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.6208, allocations: 180.2 kB / 1.133 GB, free: 104 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-06/0.6208, allocations: 27.08 kB / 1.133 GB, free: 72 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.6209, allocations: 109.9 kB / 1.133 GB, free: 15.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6209, allocations: 24.92 kB / 1.133 GB, free: 15.95 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.621, allocations: 24.81 kB / 1.133 GB, free: 15.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6211, allocations: 329.9 kB / 1.133 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.6211, allocations: 30.98 kB / 1.133 GB, free: 15.59 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.6212, allocations: 32.55 kB / 1.133 GB, free: 15.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.6214, allocations: 74.48 kB / 1.134 GB, free: 15.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6214, allocations: 1.094 kB / 1.134 GB, free: 15.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001923/0.6215, allocations: 127 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6216, allocations: 6.438 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6216, allocations: 0 / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6216, allocations: 1.844 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.6217, allocations: 16.8 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6217, allocations: 0.7031 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.6217, allocations: 18.98 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6217, allocations: 2.797 kB / 1.134 GB, free: 15.48 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 7.842e-05/0.6218, allocations: 125 kB / 1.134 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.6218, allocations: 23.11 kB / 1.134 GB, free: 15.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.6221, allocations: 124.8 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6221, allocations: 0 / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6221, allocations: 2.875 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6221, allocations: 4.547 kB / 1.134 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.6222, allocations: 180.6 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6222, allocations: 0 / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.6223, allocations: 15.22 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6223, allocations: 1.578 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.6223, allocations: 5.406 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6223, allocations: 0 / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6223, allocations: 5.109 kB / 1.134 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.6225, allocations: 207.4 kB / 1.134 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.6225, allocations: 17.2 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.6225, allocations: 2.156 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.6226, allocations: 6.406 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.6226, allocations: 8.391 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.6226, allocations: 7.078 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.702e-05/0.6227, allocations: 132.9 kB / 1.135 GB, free: 14.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6227, allocations: 1.5 kB / 1.135 GB, free: 14.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001698/0.6229, allocations: 28.08 kB / 1.135 GB, free: 14.81 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004322/0.6233, allocations: 0.7463 MB / 1.135 GB, free: 14.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.6235, allocations: 78.67 kB / 1.135 GB, free: 14.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6235, allocations: 0 / 1.135 GB, free: 14.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.6236, allocations: 39.11 kB / 1.135 GB, free: 14.08 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.6238, allocations: 34.59 kB / 1.135 GB, free: 14.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6255, allocations: 1.768 MB / 1.137 GB, free: 12.69 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.6255, allocations: 92.22 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.743e-05/0.6256, allocations: 14.64 kB / 1.137 GB, free: 12.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.6256, allocations: 37.61 kB / 1.137 GB, free: 12.59 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/0.6256, allocations: 0 / 1.137 GB, free: 12.59 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/0.7036, allocations: 4.005 MB / 1.141 GB, free: 11.53 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.651, allocations: 10.88 kB / 1.141 GB, free: 11.52 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.215370911173522]