Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.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.001028/0.001028, 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.000964/0.000964, allocations: 173.6 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.938/0.938, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.82/1.82, 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.727e-05, allocations: 5.797 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001872/0.001889, allocations: 1.282 MB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00944/0.01133, allocations: 3.075 MB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.01136, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.01137, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.01142, allocations: 7.922 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.01189, allocations: 123.3 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.01196, allocations: 31.91 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.012, allocations: 4 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.01205, allocations: 27.91 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.01211, allocations: 15.97 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.01212, allocations: 4 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.01229, allocations: 59.77 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.01231, allocations: 11.98 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.01233, allocations: 11.98 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.01248, allocations: 75.72 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.01249, allocations: 4 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01249, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.01249, allocations: 0 / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003222/0.01281, allocations: 274.2 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01285, allocations: 13.34 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.01289, allocations: 30.75 kB / 1.006 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.01297, allocations: 4.938 kB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.01304, allocations: 117.8 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.01305, allocations: 384 / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.01307, allocations: 4.375 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.01321, allocations: 139.3 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.01321, allocations: 192 / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.01322, allocations: 3.938 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01323, allocations: 4 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.01327, allocations: 19.92 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.01341, allocations: 132.7 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.01349, allocations: 50.5 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.01352, allocations: 24.78 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003469/0.01699, allocations: 242.1 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01702, allocations: 38.56 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.01702, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004673/0.01748, allocations: 221.6 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.01751, allocations: 55.41 kB / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.01757, allocations: 101.8 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.01759, allocations: 25.7 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.01762, allocations: 88.03 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.01764, allocations: 27.8 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.01768, allocations: 25.72 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.01776, allocations: 322.8 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.01779, allocations: 15.98 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.01784, allocations: 61.02 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.01792, allocations: 73.27 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01792, allocations: 0 / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001146/0.01803, allocations: 93.55 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.01805, allocations: 8.125 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01805, allocations: 4 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01807, allocations: 3.984 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.01812, allocations: 23.94 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01813, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.01816, allocations: 7.938 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.01816, allocations: 0 / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.089e-05/0.01823, allocations: 121.7 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.01825, allocations: 11.94 kB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.01827, allocations: 8.125 kB / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01828, allocations: 8 kB / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01828, allocations: 0 / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01828, allocations: 0 / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01846, allocations: 148.8 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01847, allocations: 0 / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.01853, allocations: 19.92 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01853, allocations: 0 / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.01854, allocations: 4 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.01854, allocations: 0 / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.01854, allocations: 0 / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.01868, allocations: 171.4 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01871, allocations: 11.95 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.01872, allocations: 0 / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.01879, allocations: 12.03 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.01881, allocations: 4 kB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01881, allocations: 0 / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.01884, allocations: 83.27 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01884, allocations: 0 / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002318/0.01907, allocations: 12 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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.0003396/0.01941, allocations: 0.7128 MB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.0195, allocations: 44.16 kB / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01951, allocations: 0 / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.01953, allocations: 19.92 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.0228, allocations: 12.17 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02435, allocations: 1.467 MB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.0244, allocations: 65.97 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.02444, allocations: 16.03 kB / 1.01 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.02447, allocations: 16.44 kB / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.02448, allocations: 0 / 1.01 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/0.1112, allocations: 2.325 MB / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.33, allocations: 2.594 kB / 1.013 GB, free: 0.9492 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Media_Examples_WaterDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_WaterDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.927218495868146]