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.0006517/0.0006517, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008612/0.001513, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009784/0.0009784, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002314, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9689/0.9689, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09309/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 228 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001901/0.004103, allocations: 471.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7671/0.7671, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06726/0.8344, allocations: 42.4 MB / 426.7 MB, free: 5.824 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.412e-06/1.412e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.183e-05, allocations: 2.312 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002907/0.002929, allocations: 1.553 MB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004057, allocations: 0.7989 MB / 430.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.004088, allocations: 0 / 430.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.004109, allocations: 0 / 430.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.789e-05/0.004137, allocations: 11.88 kB / 430.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.004468, allocations: 115.5 kB / 430.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.004542, allocations: 35.86 kB / 430.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.004614, allocations: 11.98 kB / 430.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.673e-05/0.004691, allocations: 23.97 kB / 430.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.004749, allocations: 19.97 kB / 430.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004766, allocations: 4 kB / 430.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.005168, allocations: 255.5 kB / 430.9 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.005187, allocations: 7.938 kB / 430.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.005205, allocations: 8 kB / 430.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.005436, allocations: 167.6 kB / 431.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.005445, allocations: 0 / 431.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.005446, allocations: 0 / 431.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.005455, allocations: 3.984 kB / 431.1 MB, free: 1.43 MB / 410.7 MB 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.0003274/0.005783, allocations: 288.2 kB / 431.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.00581, allocations: 12.03 kB / 431.4 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.006045, allocations: 126 kB / 431.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.006117, allocations: 109.7 kB / 431.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.006128, allocations: 4.375 kB / 431.6 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.006138, allocations: 8.312 kB / 431.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006257, allocations: 66.92 kB / 431.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006263, allocations: 192 / 431.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.006272, allocations: 4.375 kB / 431.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.00628, allocations: 7.938 kB / 431.7 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.006318, allocations: 7.984 kB / 431.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.006604, allocations: 176.3 kB / 431.9 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.006706, allocations: 42.48 kB / 431.9 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.006726, allocations: 12.92 kB / 431.9 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.006737, allocations: 0 / 431.9 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.006758, allocations: 30.56 kB / 432 MB, free: 452 kB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.006759, allocations: 0 / 432 MB, free: 452 kB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.006894, allocations: 49.62 kB / 432 MB, free: 396 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.006923, allocations: 55.41 kB / 432.1 MB, free: 328 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.006982, allocations: 110.6 kB / 432.2 MB, free: 204 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.006996, allocations: 25.7 kB / 432.2 MB, free: 172 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.007026, allocations: 84.14 kB / 432.3 MB, free: 84 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.007045, allocations: 3.953 kB / 432.3 MB, free: 80 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.00708, allocations: 13.72 kB / 432.3 MB, free: 60 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2013/0.2084, allocations: 322.8 kB / 432.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.2085, allocations: 1.938 kB / 432.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.2085, allocations: 3.969 kB / 432.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.2086, allocations: 10.86 kB / 432.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2086, allocations: 1.281 kB / 432.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.661e-05/0.2086, allocations: 38.66 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2087, allocations: 6.5 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2087, allocations: 1.922 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2087, allocations: 4.938 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2088, allocations: 15.73 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2088, allocations: 3.625 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.2089, allocations: 9.891 kB / 432.7 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2089, allocations: 1.094 kB / 432.7 MB, free: 1.758 MB / 410.7 MB 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.486e-05/0.2089, allocations: 111.2 kB / 432.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.2089, allocations: 6.266 kB / 432.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.209, allocations: 7.812 kB / 432.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.209, allocations: 0 / 432.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.209, allocations: 3.938 kB / 432.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.209, allocations: 0.7812 kB / 432.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.929e-05/0.2091, allocations: 71.62 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2091, allocations: 4.594 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.2091, allocations: 14.86 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.2091, allocations: 2.281 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2091, allocations: 0 / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2091, allocations: 2.516 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2091, allocations: 1.641 kB / 432.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2091, allocations: 3.938 kB / 432.9 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.116e-05/0.2092, allocations: 131.3 kB / 433.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2092, allocations: 7.797 kB / 433.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.2093, allocations: 8.203 kB / 433.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.2093, allocations: 4.531 kB / 433.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2093, allocations: 1.469 kB / 433.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.537e-05/0.2093, allocations: 15.77 kB / 433.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2093, allocations: 3.594 kB / 433.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.2095, allocations: 18.33 kB / 433.1 MB, free: 1.422 MB / 410.7 MB 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.0001244/0.2096, allocations: 88.94 kB / 433.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.2097, allocations: 19.31 kB / 433.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.2097, allocations: 2.141 kB / 433.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.2097, allocations: 13.67 kB / 433.2 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.2099, allocations: 66.17 kB / 433.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.2102, allocations: 127.5 kB / 433.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.015e-05/0.2103, allocations: 57.83 kB / 433.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.2103, allocations: 8.812 kB / 433.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.2104, allocations: 56.17 kB / 433.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2104, allocations: 0.6562 kB / 433.5 MB, free: 17.07 MB / 426.7 MB Notification: Performance of Templates: time 0.002378/0.2128, allocations: 0.9126 MB / 434.5 MB, free: 17.05 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.380310938693583]