Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.00231/0.00231, allocations: 278.9 kB / 303.6 MB, free: 3.703 MB / 238.1 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 1.019/1.019, allocations: 180.9 MB / 0.5268 GB, free: 2.676 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 107.8 kB / 0.726 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5089, allocations: 94.15 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001681/0.5106, allocations: 0.6457 MB / 0.8185 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.5122, allocations: 1.459 MB / 0.82 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.5122, allocations: 0 / 0.82 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.5123, allocations: 3.938 kB / 0.82 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.5123, allocations: 8.906 kB / 0.82 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.5127, allocations: 121.3 kB / 0.8201 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.5128, allocations: 26.7 kB / 0.8201 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.5128, allocations: 6.047 kB / 0.8201 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.5129, allocations: 18.06 kB / 0.8201 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.5129, allocations: 28.08 kB / 0.8202 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5129, allocations: 2.062 kB / 0.8202 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.5133, allocations: 319.1 kB / 0.8205 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.5134, allocations: 1.219 kB / 0.8205 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.5134, allocations: 21.88 kB / 0.8205 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.5136, allocations: 188 kB / 0.8207 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5137, allocations: 1.25 kB / 0.8207 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5137, allocations: 0 / 0.8207 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.5137, allocations: 0 / 0.8207 GB, free: 5.715 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004382/0.5141, allocations: 381.5 kB / 0.821 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5141, allocations: 9.188 kB / 0.821 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.5145, allocations: 57.19 kB / 0.8211 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.5146, allocations: 174 kB / 0.8213 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5146, allocations: 6.562 kB / 0.8213 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.5146, allocations: 2.828 kB / 0.8213 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.5149, allocations: 80.56 kB / 0.8214 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5149, allocations: 0.7031 kB / 0.8214 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5149, allocations: 1.375 kB / 0.8214 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5149, allocations: 4 kB / 0.8214 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.5153, allocations: 75.45 kB / 0.8214 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.5154, allocations: 163 kB / 0.8216 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.5159, allocations: 138.3 kB / 0.8217 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.5161, allocations: 43.91 kB / 0.8218 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5161, allocations: 1.156 kB / 0.8218 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.5162, allocations: 36.56 kB / 0.8218 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.5162, allocations: 0 / 0.8218 GB, free: 4.746 MB / 0.5762 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.00381/0.52, allocations: 0.7865 MB / 0.8226 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.52, allocations: 59.11 kB / 0.8226 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.5201, allocations: 111.8 kB / 0.8227 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5201, allocations: 27.14 kB / 0.8228 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.5201, allocations: 88.86 kB / 0.8228 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.5201, allocations: 30.22 kB / 0.8229 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.5202, allocations: 27.33 kB / 0.8229 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.5202, allocations: 323.6 kB / 0.8232 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.5206, allocations: 94.42 kB / 0.8233 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.521, allocations: 96.33 kB / 0.8234 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.5217, allocations: 196.3 kB / 0.8236 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5217, allocations: 0 / 0.8236 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007753/0.5224, allocations: 244.4 kB / 0.8238 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5225, allocations: 6.453 kB / 0.8238 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5225, allocations: 0 / 0.8238 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5225, allocations: 2.531 kB / 0.8238 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5228, allocations: 56.8 kB / 0.8239 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5228, allocations: 3.719 kB / 0.8239 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.523, allocations: 35.97 kB / 0.8239 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.523, allocations: 4.156 kB / 0.8239 GB, free: 3.805 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 (9): * Single equations (assignments): 9 * 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 6.826e-05/0.5231, allocations: 117.2 kB / 0.824 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.5231, allocations: 1.875 kB / 0.824 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.5231, allocations: 14.91 kB / 0.824 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5231, allocations: 4.141 kB / 0.824 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5231, allocations: 4.75 kB / 0.824 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5231, allocations: 0.6094 kB / 0.824 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.5246, allocations: 0.5931 MB / 0.8246 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5246, allocations: 7.656 kB / 0.8246 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.5249, allocations: 52.2 kB / 0.8247 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5249, allocations: 2.875 kB / 0.8247 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5249, allocations: 8.938 kB / 0.8247 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5249, allocations: 0 / 0.8247 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5249, allocations: 6.812 kB / 0.8247 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.5257, allocations: 341.2 kB / 0.825 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.5257, allocations: 89.03 kB / 0.8251 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.5257, allocations: 6.938 kB / 0.8251 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.526, allocations: 32.67 kB / 0.8251 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.526, allocations: 13.31 kB / 0.8252 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.526, allocations: 8.125 kB / 0.8252 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.526, allocations: 98.55 kB / 0.8253 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.526, allocations: 0 / 0.8253 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002858/0.5263, allocations: 41.72 kB / 0.8253 GB, free: 2.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001846/0.5265, allocations: 125 kB / 0.8254 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008199/0.5273, allocations: 209.2 kB / 0.8256 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5273, allocations: 0 / 0.8256 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.5277, allocations: 107.4 kB / 0.8257 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5279, allocations: 11.08 kB / 0.8257 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5293, allocations: 433.4 kB / 0.8261 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.5294, allocations: 0.6901 MB / 0.8268 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.5294, allocations: 19.61 kB / 0.8268 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.5294, allocations: 0 / 0.8268 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of Templates: time 0.003341/0.5328, allocations: 1.44 MB / 0.8282 GB, free: 1.723 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8910406210052315] Failed to read output from testmodel.py, exit status != 0: 0.5402999549987726 0.553217023 0.03673225499999994 Calling exit ...