Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001243/0.001243, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001422/0.001422, allocations: 216.6 kB / 23.03 MB, free: 4.949 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002507/0.002507, allocations: 290.9 kB / 313.5 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.332/1.332, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 99.38 kB / 0.7403 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.201, allocations: 95.38 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.004339/0.2053, allocations: 1.606 MB / 0.835 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.207, allocations: 0.5598 MB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2071, allocations: 7.938 kB / 0.8355 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.2073, allocations: 11.88 kB / 0.8355 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.2073, allocations: 19.8 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.2078, allocations: 59.86 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.208, allocations: 87.7 kB / 0.8357 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2082, allocations: 28.25 kB / 0.8357 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.2084, allocations: 47.84 kB / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2085, allocations: 47.72 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.2085, allocations: 8 kB / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.2086, allocations: 15.98 kB / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.2086, allocations: 27.86 kB / 0.8359 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/0.2087, allocations: 27.8 kB / 0.8359 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2089, allocations: 95.58 kB / 0.836 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2089, allocations: 7.984 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2089, allocations: 0 / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2089, allocations: 0 / 0.836 GB, free: 5.641 MB / 0.5762 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.0006362/0.2096, allocations: 345.7 kB / 0.8363 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2096, allocations: 9.344 kB / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.2097, allocations: 4.188 kB / 0.8363 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.2097, allocations: 42.73 kB / 0.8364 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003892/0.2101, allocations: 36.86 kB / 0.8364 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.2105, allocations: 148.9 kB / 0.8366 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.2105, allocations: 8.125 kB / 0.8366 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.2105, allocations: 8 kB / 0.8366 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.2109, allocations: 105.6 kB / 0.8367 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2109, allocations: 4 kB / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2109, allocations: 3.984 kB / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2109, allocations: 0 / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.2111, allocations: 99.88 kB / 0.8368 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.2119, allocations: 339.7 kB / 0.8371 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2121, allocations: 58.48 kB / 0.8371 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2122, allocations: 48.95 kB / 0.8372 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.2122, allocations: 4 kB / 0.8372 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2123, allocations: 34.55 kB / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.2123, allocations: 0 / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0005165/0.2128, allocations: 169.5 kB / 0.8374 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2128, allocations: 51.41 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.213, allocations: 142.9 kB / 0.8376 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.213, allocations: 29.7 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.2131, allocations: 108.2 kB / 0.8377 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.2132, allocations: 19.84 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.2132, allocations: 21.66 kB / 0.8378 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2134, allocations: 322.8 kB / 0.8381 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2135, allocations: 35.97 kB / 0.8381 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2136, allocations: 43.97 kB / 0.8381 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.2138, allocations: 88.8 kB / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2138, allocations: 0 / 0.8382 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002923/0.2141, allocations: 129.5 kB / 0.8383 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2141, allocations: 8 kB / 0.8384 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2141, allocations: 448 / 0.8384 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2142, allocations: 7.938 kB / 0.8384 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2143, allocations: 15.98 kB / 0.8384 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2143, allocations: 3.938 kB / 0.8384 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.2144, allocations: 15.98 kB / 0.8384 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.2144, allocations: 4 kB / 0.8384 GB, free: 2.984 MB / 0.5762 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 0.0001182/0.2145, allocations: 122.4 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2146, allocations: 19.83 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.215, allocations: 146.3 kB / 0.8387 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.215, allocations: 4 kB / 0.8387 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.215, allocations: 0 / 0.8387 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.215, allocations: 0 / 0.8387 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.2152, allocations: 164.7 kB / 0.8388 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2152, allocations: 3.938 kB / 0.8388 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2153, allocations: 19.98 kB / 0.8389 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2153, allocations: 0 / 0.8389 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2153, allocations: 3.984 kB / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2153, allocations: 0 / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2153, allocations: 4 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.2157, allocations: 223.4 kB / 0.8391 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.2157, allocations: 11.89 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2157, allocations: 0 / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.2158, allocations: 7.938 kB / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.2159, allocations: 7.984 kB / 0.8391 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2159, allocations: 7.984 kB / 0.8391 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.216, allocations: 109 kB / 0.8392 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.216, allocations: 4 kB / 0.8392 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002553/0.2163, allocations: 15.95 kB / 0.8392 GB, free: 2.047 MB / 0.5762 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.0007319/0.217, allocations: 0.7669 MB / 0.84 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.2173, allocations: 104 kB / 0.8401 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2173, allocations: 0 / 0.8401 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2174, allocations: 47.97 kB / 0.8401 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2177, allocations: 8 kB / 0.8401 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.2198, allocations: 1.634 MB / 0.8417 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.451e-05/0.2199, allocations: 90.77 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.336e-05/0.22, allocations: 15.97 kB / 0.8418 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.2201, allocations: 31.42 kB / 0.8419 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.2201, allocations: 0 / 0.8419 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.2448, allocations: 2.286 MB / 0.8441 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 4.062 kB / 0.8441 GB, free: 13.1 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.735187575104646] Failed to read output from testmodel.py, exit status != 0: 11.482544867089018 11.499063292 11.286614162 Calling exit ...