Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001895/0.001895, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002704/0.002704, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_11_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.002062/0.002062, allocations: 61.83 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001872/0.3548, allocations: 0.648 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3571, allocations: 1.511 MB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.3571, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.3571, allocations: 3.938 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.3572, allocations: 3.984 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.3577, allocations: 121.2 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.148e-05/0.3577, allocations: 35.84 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.3578, allocations: 8 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.3578, allocations: 7.984 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.3579, allocations: 23.86 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3579, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.3584, allocations: 323.3 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3584, allocations: 7.984 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.3585, allocations: 15.88 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3588, allocations: 183.8 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3588, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3588, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.3588, allocations: 8 kB / 1.287 GB, free: 8.797 MB / 0.9825 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.0005331/0.3593, allocations: 311.8 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3594, allocations: 8.031 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.3594, allocations: 4.188 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.3594, allocations: 38.75 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.3598, allocations: 56.86 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.36, allocations: 126.4 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.36, allocations: 384 / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.36, allocations: 8.312 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.3603, allocations: 77.58 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3603, allocations: 0 / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3603, allocations: 0 / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3603, allocations: 4 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.3607, allocations: 71.91 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.3609, allocations: 140.7 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.3615, allocations: 130.4 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3616, allocations: 36.81 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3617, allocations: 8.062 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3617, allocations: 42.5 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3617, allocations: 0 / 1.288 GB, free: 7.625 MB / 0.9825 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.004342/0.366, allocations: 0.7857 MB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3661, allocations: 51.41 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3662, allocations: 109.8 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.3662, allocations: 29.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3663, allocations: 88.12 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.3663, allocations: 27.75 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3664, allocations: 29.7 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3665, allocations: 318.8 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.367, allocations: 91.91 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.3675, allocations: 99.89 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.3683, allocations: 204.8 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3684, allocations: 0 / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009871/0.3693, allocations: 238.2 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3694, allocations: 8 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3694, allocations: 7.984 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3694, allocations: 3.938 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3697, allocations: 47.94 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3697, allocations: 8 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3699, allocations: 27.97 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.37, allocations: 11.98 kB / 1.29 GB, free: 5.402 MB / 0.9825 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.0001201/0.3701, allocations: 117.8 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3701, allocations: 4 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.3702, allocations: 8.375 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3702, allocations: 7.984 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3702, allocations: 0 / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3702, allocations: 3.984 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.372, allocations: 0.5808 MB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.372, allocations: 4 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3723, allocations: 52 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3723, allocations: 4 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3723, allocations: 0 / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3723, allocations: 7.938 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3723, allocations: 3.938 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3733, allocations: 341 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.3734, allocations: 7.953 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3734, allocations: 4 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3736, allocations: 39.95 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3737, allocations: 15.86 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3737, allocations: 7.984 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.3738, allocations: 87.47 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3738, allocations: 0 / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003427/0.3741, allocations: 47.8 kB / 1.291 GB, free: 3.984 MB / 0.9825 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.001647/0.3758, allocations: 0.8896 MB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000973/0.3768, allocations: 211.7 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3768, allocations: 0 / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.3772, allocations: 104 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.3775, allocations: 15.88 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.3826, allocations: 2.128 MB / 1.295 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.383, allocations: 0.6923 MB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.3831, allocations: 17.45 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3832, allocations: 31.69 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.3832, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.4088, allocations: 2.9 MB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 17.27 kB / 1.298 GB, free: 12.99 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.648424735991284] Failed to read output from testmodel.py, exit status != 0: 12.598445215029642 12.071247108 11.708952662 Calling exit ...