Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001458/0.001458, allocations: 116.1 kB / 17.17 MB, free: 6 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.001596/0.001596, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.095/3.095, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.003201/0.003201, allocations: 63.91 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9473/0.9505, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001806/0.9523, allocations: 0.6356 MB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.9543, allocations: 1.513 MB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.9543, allocations: 1.031 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.9544, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.9545, allocations: 6.828 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.9551, allocations: 128.6 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.9552, allocations: 28.78 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.9553, allocations: 2.984 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.9553, allocations: 17.69 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.9554, allocations: 23.47 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.9554, allocations: 1.5 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006914/0.9561, allocations: 318.9 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.9561, allocations: 7.359 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.9562, allocations: 25.56 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.9566, allocations: 187.7 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.9566, allocations: 0.75 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.246e-06/0.9566, allocations: 0 / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.9566, allocations: 1.625 kB / 1.343 GB, free: 14.51 MB / 1.061 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.000666/0.9573, allocations: 379.8 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.9574, allocations: 9.844 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.691e-05/0.9574, allocations: 9.5 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.9574, allocations: 33.23 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.958, allocations: 57.5 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.9582, allocations: 175.2 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.9582, allocations: 2.562 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.9582, allocations: 1.5 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.9587, allocations: 73.66 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.9587, allocations: 8.562 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.9587, allocations: 0 / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.9587, allocations: 1.375 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005325/0.9593, allocations: 74.83 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.9594, allocations: 171 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.9602, allocations: 119.2 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.9604, allocations: 44.27 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.9605, allocations: 7.922 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.9605, allocations: 36.39 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.664e-06/0.9605, allocations: 0 / 1.344 GB, free: 13.5 MB / 1.061 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.004511/0.965, allocations: 0.7898 MB / 1.345 GB, free: 13.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.965, allocations: 53.34 kB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.9651, allocations: 114.4 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.9651, allocations: 25.7 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.9651, allocations: 86.31 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.9652, allocations: 30.27 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.9652, allocations: 25.95 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.9653, allocations: 318.9 kB / 1.346 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.9657, allocations: 102.3 kB / 1.346 GB, free: 12.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.9662, allocations: 101.4 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008604/0.967, allocations: 193.4 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.967, allocations: 4 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009634/0.968, allocations: 241.4 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.968, allocations: 5.875 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.968, allocations: 3.984 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.968, allocations: 1.125 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.9683, allocations: 54.56 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.9683, allocations: 1.219 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.9686, allocations: 40.67 kB / 1.346 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.9686, allocations: 7.922 kB / 1.346 GB, free: 12.55 MB / 1.061 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.19e-05/0.9687, allocations: 120.9 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.9687, allocations: 8.438 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.9687, allocations: 10.53 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9687, allocations: 0.5625 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9687, allocations: 1.656 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9687, allocations: 4.609 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.9704, allocations: 0.5905 MB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9704, allocations: 1.641 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.9706, allocations: 57.94 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.9707, allocations: 1.703 kB / 1.347 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.9707, allocations: 8.75 kB / 1.347 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.9707, allocations: 6.25 kB / 1.347 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9707, allocations: 4.219 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/0.9716, allocations: 343.1 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.9716, allocations: 84.64 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.9717, allocations: 10.12 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.9719, allocations: 33.52 kB / 1.348 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.972, allocations: 11.52 kB / 1.348 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.972, allocations: 9.312 kB / 1.348 GB, free: 11.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.972, allocations: 93.97 kB / 1.348 GB, free: 11.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.972, allocations: 1.094 kB / 1.348 GB, free: 11.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003075/0.9723, allocations: 36.88 kB / 1.348 GB, free: 11.64 MB / 1.061 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.001212/0.9735, allocations: 0.9079 MB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009574/0.9745, allocations: 201.5 kB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9745, allocations: 1.156 kB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.9749, allocations: 107.2 kB / 1.349 GB, free: 10.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.9752, allocations: 12.64 kB / 1.349 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.9797, allocations: 2.135 MB / 1.351 GB, free: 9.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.9798, allocations: 0.6894 MB / 1.352 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.28e-05/0.9799, allocations: 31 kB / 1.352 GB, free: 8.742 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.98, allocations: 28.12 kB / 1.352 GB, free: 8.727 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.98, allocations: 0 / 1.352 GB, free: 8.727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.9998, allocations: 2.806 MB / 1.354 GB, free: 8.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.569, allocations: 5.688 kB / 1.354 GB, free: 8.277 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.338198643003125] Failed to read output from testmodel.py, exit status != 0: 9.70085076399846 9.721610081 8.761023535 Calling exit ...