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.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.001266/0.001266, 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.001483/0.001483, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002597/0.002597, allocations: 273.5 kB / 313.5 MB, free: 2.637 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",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.002788/0.002788, allocations: 95.11 kB / 0.7403 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2033, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002005/0.2053, allocations: 0.6387 MB / 0.8341 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2075, allocations: 1.429 MB / 0.8355 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2075, allocations: 0 / 0.8355 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.2075, allocations: 3.938 kB / 0.8355 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.2076, allocations: 4 kB / 0.8355 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.208, allocations: 127.5 kB / 0.8356 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.2081, allocations: 27.86 kB / 0.8356 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.2082, allocations: 7.984 kB / 0.8356 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.2082, allocations: 7.938 kB / 0.8356 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.2083, allocations: 27.84 kB / 0.8357 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2083, allocations: 0 / 0.8357 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.2089, allocations: 267.5 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.2089, allocations: 3.938 kB / 0.8359 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2089, allocations: 19.91 kB / 0.8359 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.2092, allocations: 179.7 kB / 0.8361 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2092, allocations: 4 kB / 0.8361 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2092, allocations: 0 / 0.8361 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2092, allocations: 0 / 0.8361 GB, free: 5.574 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.0006246/0.2098, allocations: 301.8 kB / 0.8364 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2099, allocations: 9.938 kB / 0.8364 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.828e-05/0.2099, allocations: 4.188 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.2099, allocations: 34.73 kB / 0.8365 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.2103, allocations: 64.81 kB / 0.8365 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2105, allocations: 114.5 kB / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2105, allocations: 384 / 0.8366 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2105, allocations: 8.375 kB / 0.8366 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.2108, allocations: 77.52 kB / 0.8367 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2108, allocations: 7.953 kB / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2108, allocations: 0 / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2108, allocations: 0 / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.2112, allocations: 71.91 kB / 0.8368 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.2114, allocations: 136.8 kB / 0.8369 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.212, allocations: 126.4 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.2122, allocations: 44.92 kB / 0.8371 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2122, allocations: 7.875 kB / 0.8371 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.2122, allocations: 38.56 kB / 0.8371 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2122, allocations: 0 / 0.8371 GB, free: 4.418 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.004161/0.2164, allocations: 0.7764 MB / 0.8379 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.2165, allocations: 55.41 kB / 0.8379 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2166, allocations: 113.8 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2166, allocations: 29.7 kB / 0.8381 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.2166, allocations: 84.12 kB / 0.8381 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.2167, allocations: 31.73 kB / 0.8382 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.2168, allocations: 25.8 kB / 0.8382 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.217, allocations: 326.8 kB / 0.8385 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.2175, allocations: 95.91 kB / 0.8386 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.218, allocations: 96.64 kB / 0.8387 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.2188, allocations: 196.6 kB / 0.8389 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2188, allocations: 0 / 0.8389 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009905/0.2198, allocations: 241.4 kB / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2198, allocations: 4 kB / 0.8391 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2198, allocations: 4 kB / 0.8391 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2198, allocations: 0 / 0.8391 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.2201, allocations: 63.88 kB / 0.8392 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2201, allocations: 4 kB / 0.8392 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.2204, allocations: 35.95 kB / 0.8392 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.2204, allocations: 7.984 kB / 0.8392 GB, free: 2.195 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 0.0001017/0.2205, allocations: 114.4 kB / 0.8393 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.2205, allocations: 7.953 kB / 0.8393 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.2206, allocations: 12.38 kB / 0.8394 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2206, allocations: 0 / 0.8394 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2206, allocations: 0 / 0.8394 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2206, allocations: 3.984 kB / 0.8394 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.2225, allocations: 0.5539 MB / 0.8399 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2225, allocations: 4 kB / 0.8399 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.2227, allocations: 56.22 kB / 0.84 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2227, allocations: 4 kB / 0.84 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2228, allocations: 4 kB / 0.84 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2228, allocations: 8.016 kB / 0.84 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2228, allocations: 7.922 kB / 0.84 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2238, allocations: 341 kB / 0.8403 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.2238, allocations: 19.94 kB / 0.8403 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2239, allocations: 0 / 0.8403 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2241, allocations: 35.95 kB / 0.8404 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.2242, allocations: 15.92 kB / 0.8404 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2242, allocations: 8 kB / 0.8404 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.279e-05/0.2242, allocations: 91.27 kB / 0.8405 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2242, allocations: 0 / 0.8405 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003027/0.2245, allocations: 35.88 kB / 0.8405 GB, free: 0.7969 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.00141/0.226, allocations: 0.8973 MB / 0.8414 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009298/0.2269, allocations: 211.7 kB / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2269, allocations: 0 / 0.8416 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.2273, allocations: 108 kB / 0.8417 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2276, allocations: 6.375 kB / 0.8417 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.2323, allocations: 2.13 MB / 0.8438 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2324, allocations: 71.34 kB / 0.8438 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.2325, allocations: 24.59 kB / 0.8439 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.2326, allocations: 27.42 kB / 0.8439 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.2326, allocations: 0 / 0.8439 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.2591, allocations: 3.025 MB / 0.8468 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.44, allocations: 7.125 kB / 0.8469 GB, free: 10.33 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.731062388978899] Failed to read output from testmodel.py, exit status != 0: 11.602003752952442 11.630553611 11.416401818 Calling exit ...