Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.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.0007914/0.0007914, 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.0008174/0.0008174, allocations: 215.8 kB / 23.03 MB, free: 2.953 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.9769/0.9769, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.125/2.125, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 64.12 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9123, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002251/0.9146, allocations: 1.593 MB / 1.354 GB, free: 60 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000738/0.9153, allocations: 0.565 MB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.9154, allocations: 4 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.9155, allocations: 11.86 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.9155, allocations: 11.81 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.9158, allocations: 67.86 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.9159, allocations: 83.7 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.9161, allocations: 38.2 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.9162, allocations: 47.78 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.9162, allocations: 35.84 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.9163, allocations: 7.984 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.9163, allocations: 19.98 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.9164, allocations: 23.92 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.9164, allocations: 31.75 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.9165, allocations: 99.56 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9165, allocations: 3.938 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9165, allocations: 7.938 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9165, allocations: 4 kB / 1.355 GB, free: 15 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004076/0.9169, allocations: 337.8 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.917, allocations: 8.922 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.917, allocations: 42.75 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.9172, allocations: 32.86 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.9174, allocations: 142.9 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.9174, allocations: 8.375 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.9174, allocations: 7.938 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9176, allocations: 120.5 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9176, allocations: 3.984 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.9176, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9176, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.9178, allocations: 99.92 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.9182, allocations: 339.7 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.9182, allocations: 54.55 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.9183, allocations: 44.95 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.9183, allocations: 7.984 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.9184, allocations: 34.56 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.9184, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0002871/0.9187, allocations: 169.4 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.9187, allocations: 55.41 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.9188, allocations: 139.9 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.9188, allocations: 25.7 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.9188, allocations: 108.2 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.9189, allocations: 23.8 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.9189, allocations: 21.7 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.919, allocations: 322.8 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.919, allocations: 43.97 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.9191, allocations: 35.97 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.9192, allocations: 84.81 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9192, allocations: 0 / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001546/0.9193, allocations: 137.5 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.9194, allocations: 8 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9194, allocations: 448 / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9194, allocations: 3.938 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.9195, allocations: 15.98 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.9195, allocations: 0 / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.9195, allocations: 19.94 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.9195, allocations: 0 / 1.357 GB, free: 12.36 MB / 1.042 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 (6): * Single equations (assignments): 6 * 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.161e-05/0.9196, allocations: 126.4 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.9196, allocations: 11.89 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.9198, allocations: 150.2 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.9198, allocations: 0 / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9198, allocations: 0 / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9198, allocations: 0 / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.92, allocations: 168.7 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.92, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.92, allocations: 23.91 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.92, allocations: 0 / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.92, allocations: 4 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.92, allocations: 4 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.92, allocations: 4 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.9202, allocations: 219.4 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.9202, allocations: 15.83 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.9202, allocations: 4 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.9203, allocations: 7.984 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.9203, allocations: 7.984 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.9203, allocations: 4 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.9203, allocations: 109.7 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.9203, allocations: 0 / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001551/0.9205, allocations: 19.95 kB / 1.358 GB, free: 11.43 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 (6): * Single equations (assignments): 6 * 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.0003917/0.9209, allocations: 0.771 MB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.9211, allocations: 91.94 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9211, allocations: 4 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.9211, allocations: 51.91 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.9213, allocations: 4 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.9229, allocations: 1.631 MB / 1.361 GB, free: 8.773 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.923, allocations: 96.03 kB / 1.361 GB, free: 8.66 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.923, allocations: 19.72 kB / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.9231, allocations: 31.42 kB / 1.361 GB, free: 8.609 MB / 1.042 GB Notification: Performance of SimCode: time 5.71e-07/0.9231, allocations: 0 / 1.361 GB, free: 8.609 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/0.999, allocations: 2.621 MB / 1.363 GB, free: 6.125 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/8.036, allocations: 0 / 1.363 GB, free: 6.125 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_VectorFunctions.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_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_Utilities_Math_Examples_VectorFunctions.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.VectorFunctions_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.21956932451576]