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.0007413/0.0007413, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007121/0.0007121, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8355/0.8355, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001363/0.001363, allocations: 225.7 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.663/0.663, allocations: 138.4 MB / 455.1 MB, free: 29.94 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.877e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.2313/0.2314, allocations: 1.464 MB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2324, allocations: 0.7579 MB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.2324, allocations: 0 / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.2324, allocations: 1.219 kB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.2325, allocations: 3.141 kB / 0.6497 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2329, allocations: 141.3 kB / 0.6498 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.233, allocations: 30.16 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.2331, allocations: 4.156 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.2331, allocations: 24.45 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.2332, allocations: 15.27 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2332, allocations: 2.875 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.2335, allocations: 247 kB / 0.6501 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2335, allocations: 6.938 kB / 0.6501 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.2335, allocations: 11.7 kB / 0.6502 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.2338, allocations: 217.1 kB / 0.6504 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2338, allocations: 0.7812 kB / 0.6504 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2338, allocations: 0 / 0.6504 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2338, allocations: 0.75 kB / 0.6504 GB, free: 56.2 MB / 0.5573 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.0003715/0.2342, allocations: 299.2 kB / 0.6507 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2342, allocations: 11.33 kB / 0.6507 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.2345, allocations: 68.28 kB / 0.6507 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.109e-05/0.2346, allocations: 107 kB / 0.6508 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2346, allocations: 1.062 kB / 0.6508 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2346, allocations: 6.062 kB / 0.6508 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.2348, allocations: 80.81 kB / 0.6509 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2348, allocations: 4.125 kB / 0.6509 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2348, allocations: 2.031 kB / 0.6509 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2348, allocations: 4.688 kB / 0.6509 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.235, allocations: 90.44 kB / 0.651 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.2354, allocations: 236.3 kB / 0.6512 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.2356, allocations: 98.34 kB / 0.6513 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2357, allocations: 48.95 kB / 0.6514 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.2357, allocations: 4 kB / 0.6514 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2357, allocations: 40.89 kB / 0.6514 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.2357, allocations: 0 / 0.6514 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.2361, allocations: 166 kB / 0.6516 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2361, allocations: 53.25 kB / 0.6516 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.2362, allocations: 102.2 kB / 0.6517 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.2362, allocations: 25.7 kB / 0.6518 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.2362, allocations: 89.3 kB / 0.6518 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2362, allocations: 7.453 kB / 0.6518 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2362, allocations: 19.66 kB / 0.6519 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.991e-05/0.2363, allocations: 320.5 kB / 0.6522 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2364, allocations: 47.34 kB / 0.6522 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.2365, allocations: 48.59 kB / 0.6523 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2366, allocations: 89.22 kB / 0.6523 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2367, allocations: 2.781 kB / 0.6523 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.2369, allocations: 118.3 kB / 0.6525 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2369, allocations: 10.78 kB / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2369, allocations: 3.562 kB / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2369, allocations: 0 / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.237, allocations: 23.69 kB / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.237, allocations: 4.219 kB / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.2371, allocations: 18.55 kB / 0.6525 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2371, allocations: 1.312 kB / 0.6525 GB, free: 54.78 MB / 0.5573 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 4.71e-05/0.2371, allocations: 112.6 kB / 0.6526 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.2371, allocations: 10.08 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.2372, allocations: 10.33 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2372, allocations: 0 / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2372, allocations: 2.125 kB / 0.6526 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2372, allocations: 7.328 kB / 0.6527 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.039e-05/0.2372, allocations: 109.8 kB / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2372, allocations: 0 / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.2373, allocations: 20.86 kB / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2373, allocations: 0 / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2373, allocations: 3.938 kB / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2373, allocations: 2.094 kB / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2373, allocations: 0 / 0.6528 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2376, allocations: 215.6 kB / 0.653 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.2376, allocations: 6.641 kB / 0.653 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2376, allocations: 4.5 kB / 0.653 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.2377, allocations: 18.77 kB / 0.653 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.2377, allocations: 4.516 kB / 0.653 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2377, allocations: 3.938 kB / 0.653 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.2377, allocations: 86.61 kB / 0.6531 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2377, allocations: 1.719 kB / 0.6531 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001709/0.2379, allocations: 14.5 kB / 0.6531 GB, free: 54.3 MB / 0.5573 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.0001393/0.238, allocations: 116 kB / 0.6532 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.2383, allocations: 97.16 kB / 0.6533 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2383, allocations: 0 / 0.6533 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.2384, allocations: 44.77 kB / 0.6534 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2386, allocations: 17.28 kB / 0.6534 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.239, allocations: 183.5 kB / 0.6536 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.239, allocations: 63.83 kB / 0.6536 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2391, allocations: 12.42 kB / 0.6536 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2391, allocations: 0 / 0.6536 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of Templates: time 0.002066/0.2411, allocations: 0.9088 MB / 0.6545 GB, free: 53.94 MB / 0.5573 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: 5.05511387065053] Failed to read output from testmodel.py, exit status != 0: 0.24648593179881573 0.25480718 0.019294303000000002 Calling exit ...