Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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.001492/0.001492, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001901/0.001901, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.793 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.002609/0.002609, allocations: 277 kB / 312.7 MB, free: 2.605 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.254/1.254, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] 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: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [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.002962/0.002962, allocations: 97.72 kB / 0.74 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.187, allocations: 95.38 MB / 0.8331 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002967/0.19, allocations: 1.466 MB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1915, allocations: 0.7618 MB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.1915, allocations: 0 / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.1916, allocations: 0 / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.782e-05/0.1916, allocations: 7.922 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.1922, allocations: 135.5 kB / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.1923, allocations: 31.92 kB / 0.8355 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.1924, allocations: 0 / 0.8355 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.1924, allocations: 19.92 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.1925, allocations: 23.91 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1925, allocations: 4 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.193, allocations: 243.5 kB / 0.8358 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.193, allocations: 7.984 kB / 0.8358 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.193, allocations: 15.92 kB / 0.8358 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1934, allocations: 183.5 kB / 0.8359 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1934, allocations: 0 / 0.8359 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1934, allocations: 4 kB / 0.836 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1934, allocations: 0 / 0.836 GB, free: 4.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005536/0.194, allocations: 301.9 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.194, allocations: 13.28 kB / 0.8363 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.1944, allocations: 76.78 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1946, allocations: 106.5 kB / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1946, allocations: 4.375 kB / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1946, allocations: 4.375 kB / 0.8364 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1949, allocations: 85.94 kB / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1949, allocations: 3.984 kB / 0.8365 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1949, allocations: 0 / 0.8365 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1949, allocations: 0 / 0.8365 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.1954, allocations: 91.91 kB / 0.8366 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1959, allocations: 240.5 kB / 0.8368 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1963, allocations: 102.4 kB / 0.8369 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1965, allocations: 48.88 kB / 0.837 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1965, allocations: 0 / 0.837 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1965, allocations: 34.56 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1965, allocations: 0 / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007425/0.1973, allocations: 173.6 kB / 0.8372 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1973, allocations: 51.41 kB / 0.8372 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.1974, allocations: 105.8 kB / 0.8373 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1974, allocations: 25.7 kB / 0.8374 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.1975, allocations: 88.14 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1975, allocations: 3.953 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.1976, allocations: 13.72 kB / 0.8375 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1977, allocations: 314.8 kB / 0.8378 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.1979, allocations: 51.98 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.1981, allocations: 43.95 kB / 0.8378 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.1985, allocations: 88.83 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1985, allocations: 0 / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004638/0.199, allocations: 129.5 kB / 0.8381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.199, allocations: 4 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.199, allocations: 7.984 kB / 0.8381 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.199, allocations: 0 / 0.8381 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1992, allocations: 19.97 kB / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1992, allocations: 4.031 kB / 0.8381 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1993, allocations: 23.92 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1993, allocations: 3.984 kB / 0.8381 GB, free: 2.516 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 (2): * Single equations (assignments): 2 * 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 9.211e-05/0.1994, allocations: 114.4 kB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1994, allocations: 3.953 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.1995, allocations: 7.312 kB / 0.8382 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1995, allocations: 0 / 0.8382 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1995, allocations: 4 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1995, allocations: 4 kB / 0.8382 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1996, allocations: 113.5 kB / 0.8384 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1996, allocations: 7.938 kB / 0.8384 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1998, allocations: 19.97 kB / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1998, allocations: 0 / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1998, allocations: 0 / 0.8384 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1998, allocations: 4 kB / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1998, allocations: 0 / 0.8384 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.2003, allocations: 219.4 kB / 0.8386 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.2003, allocations: 7.969 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2003, allocations: 3.984 kB / 0.8386 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2005, allocations: 15.98 kB / 0.8386 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2005, allocations: 7.922 kB / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2005, allocations: 4 kB / 0.8386 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.2006, allocations: 83.28 kB / 0.8387 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2006, allocations: 0 / 0.8387 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002466/0.2008, allocations: 12 kB / 0.8387 GB, free: 1.836 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 (2): * Single equations (assignments): 2 * 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.0001699/0.201, allocations: 111.2 kB / 0.8388 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.2015, allocations: 95.91 kB / 0.8389 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2015, allocations: 3.938 kB / 0.8389 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.2017, allocations: 47.94 kB / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.202, allocations: 16.06 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2027, allocations: 149.6 kB / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.2027, allocations: 67.34 kB / 0.8392 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.471e-05/0.2028, allocations: 11.95 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.2028, allocations: 7.438 kB / 0.8392 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.2028, allocations: 0 / 0.8392 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of Templates: time 0.003797/0.2066, allocations: 0.8981 MB / 0.8401 GB, free: 400 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062052845954895] Failed to read output from testmodel.py, exit status != 0: 0.21423966623842716 0.22943210300000003 0.033004184 Calling exit ...