Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterProperties.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.00147/0.00147, allocations: 108.3 kB / 19.73 MB, free: 416 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.001366/0.001366, allocations: 218.9 kB / 23.02 MB, free: 2.957 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 1.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.613 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 2.106/2.106, allocations: 0.5046 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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 1.177 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9824/0.9845, allocations: 180 MB / 1.352 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005566/0.9901, allocations: 4.518 MB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.9921, allocations: 2.453 MB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.9922, allocations: 4 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.9926, allocations: 47.7 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.993, allocations: 95.34 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.9947, allocations: 0.5195 MB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.9951, allocations: 231.9 kB / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.9952, allocations: 9.75 kB / 1.36 GB, free: 9.715 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.9955, allocations: 123.5 kB / 1.36 GB, free: 9.594 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.9957, allocations: 87.66 kB / 1.36 GB, free: 9.508 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.9957, allocations: 8 kB / 1.36 GB, free: 9.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/0.9964, allocations: 311.4 kB / 1.361 GB, free: 9.195 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.9965, allocations: 35.89 kB / 1.361 GB, free: 9.16 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.9966, allocations: 71.72 kB / 1.361 GB, free: 9.09 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.9972, allocations: 361 kB / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9972, allocations: 0 / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9972, allocations: 0 / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.9972, allocations: 4 kB / 1.361 GB, free: 8.734 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007699/0.998, allocations: 447.2 kB / 1.362 GB, free: 8.266 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/0.9981, allocations: 12.88 kB / 1.362 GB, free: 8.254 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.9981, allocations: 54.73 kB / 1.362 GB, free: 8.191 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.9983, allocations: 20.84 kB / 1.362 GB, free: 8.172 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.9987, allocations: 170.2 kB / 1.362 GB, free: 7.98 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.9988, allocations: 8.703 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.9988, allocations: 20.38 kB / 1.362 GB, free: 7.953 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.9994, allocations: 487.3 kB / 1.362 GB, free: 7.402 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.9994, allocations: 4 kB / 1.362 GB, free: 7.398 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.9994, allocations: 12 kB / 1.362 GB, free: 7.387 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.9994, allocations: 4 kB / 1.362 GB, free: 7.383 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.9999, allocations: 427.3 kB / 1.363 GB, free: 6.965 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.001, allocations: 0.8009 MB / 1.363 GB, free: 6.105 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/1.001, allocations: 158.9 kB / 1.364 GB, free: 5.941 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/1.001, allocations: 52.83 kB / 1.364 GB, free: 5.887 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/1.002, allocations: 459.8 kB / 1.364 GB, free: 5.418 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.002, allocations: 38.56 kB / 1.364 GB, free: 5.371 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/1.002, allocations: 0 / 1.364 GB, free: 5.371 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.0003085/1.002, allocations: 149.4 kB / 1.364 GB, free: 5.219 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.002, allocations: 51.41 kB / 1.364 GB, free: 5.156 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/1.002, allocations: 181 kB / 1.365 GB, free: 4.969 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/1.002, allocations: 29.7 kB / 1.365 GB, free: 4.934 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/1.002, allocations: 140.1 kB / 1.365 GB, free: 4.793 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/1.002, allocations: 59.53 kB / 1.365 GB, free: 4.734 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/1.002, allocations: 53.7 kB / 1.365 GB, free: 4.676 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/1.003, allocations: 334.8 kB / 1.365 GB, free: 4.34 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/1.003, allocations: 31.98 kB / 1.365 GB, free: 4.309 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.003, allocations: 142.7 kB / 1.365 GB, free: 4.121 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/1.003, allocations: 204.1 kB / 1.365 GB, free: 3.875 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.003, allocations: 0 / 1.365 GB, free: 3.875 MB / 1.042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000232/1.003, allocations: 213.2 kB / 1.366 GB, free: 3.66 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.003, allocations: 8 kB / 1.366 GB, free: 3.652 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.003, allocations: 4 kB / 1.366 GB, free: 3.648 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.003, allocations: 7.938 kB / 1.366 GB, free: 3.641 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/1.003, allocations: 63.84 kB / 1.366 GB, free: 3.578 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.003, allocations: 4.469 kB / 1.366 GB, free: 3.574 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/1.003, allocations: 31.78 kB / 1.366 GB, free: 3.543 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1.003, allocations: 15.98 kB / 1.366 GB, free: 3.527 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.41e-05/1.004, allocations: 140.4 kB / 1.366 GB, free: 3.383 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/1.004, allocations: 15.91 kB / 1.366 GB, free: 3.367 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/1.004, allocations: 158.8 kB / 1.366 GB, free: 3.199 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.004, allocations: 7.938 kB / 1.366 GB, free: 3.191 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.004, allocations: 0 / 1.366 GB, free: 3.191 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.004, allocations: 3.984 kB / 1.366 GB, free: 3.188 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.004, allocations: 172.7 kB / 1.366 GB, free: 2.977 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.004, allocations: 0 / 1.366 GB, free: 2.977 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/1.004, allocations: 35.97 kB / 1.366 GB, free: 2.941 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.004, allocations: 0 / 1.366 GB, free: 2.941 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.004, allocations: 8 kB / 1.366 GB, free: 2.934 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.004, allocations: 3.938 kB / 1.366 GB, free: 2.93 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.004, allocations: 0 / 1.366 GB, free: 2.93 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/1.004, allocations: 238.3 kB / 1.367 GB, free: 2.684 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/1.004, allocations: 31.81 kB / 1.367 GB, free: 2.652 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.004, allocations: 0 / 1.367 GB, free: 2.652 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.004, allocations: 19.92 kB / 1.367 GB, free: 2.633 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/1.005, allocations: 7.984 kB / 1.367 GB, free: 2.625 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/1.005, allocations: 19.98 kB / 1.367 GB, free: 2.605 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.583e-05/1.005, allocations: 124.9 kB / 1.367 GB, free: 2.484 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/1.005, allocations: 0 / 1.367 GB, free: 2.484 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003048/1.005, allocations: 79.86 kB / 1.367 GB, free: 2.406 MB / 1.042 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006404/1.006, allocations: 0.8253 MB / 1.368 GB, free: 1.555 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.006, allocations: 115.8 kB / 1.368 GB, free: 1.441 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.006, allocations: 0 / 1.368 GB, free: 1.441 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/1.006, allocations: 42.59 kB / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/1.006, allocations: 60.83 kB / 1.368 GB, free: 1.344 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/1.008, allocations: 2.04 MB / 1.37 GB, free: 15.13 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/1.008, allocations: 99.22 kB / 1.37 GB, free: 15.02 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001529/1.008, allocations: 57.72 kB / 1.37 GB, free: 14.96 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/1.008, allocations: 47.42 kB / 1.37 GB, free: 14.92 MB / 1.057 GB Notification: Performance of SimCode: time 9.72e-07/1.008, allocations: 0 / 1.37 GB, free: 14.92 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09748/1.106, allocations: 6.088 MB / 1.376 GB, free: 9.035 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/8.315, allocations: 9.547 kB / 1.376 GB, free: 9.031 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterProperties.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_WaterProperties.fmu) > Buildings_13_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.WaterProperties_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_Media_Examples_WaterProperties.fmu) > Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.738418456166983]