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.001647/0.001647, 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.002116/0.002116, allocations: 222.8 kB / 23.03 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.853/2.853, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 176] 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.002036/0.002036, allocations: 65.05 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3307, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002278/0.333, allocations: 0.6311 MB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3353, allocations: 1.433 MB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.3354, allocations: 0 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.3354, allocations: 3.938 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.3355, allocations: 11.92 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.336, allocations: 119.5 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.3361, allocations: 27.97 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.3362, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.3362, allocations: 19.86 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.3363, allocations: 19.92 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3363, allocations: 4 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.3368, allocations: 259.5 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.3368, allocations: 11.92 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.3368, allocations: 7.938 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.3371, allocations: 169 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3371, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3371, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3371, allocations: 0 / 1.287 GB, free: 7.953 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.0006031/0.3377, allocations: 313.8 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3378, allocations: 8.031 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.3378, allocations: 8.125 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.3379, allocations: 38.69 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.3383, allocations: 60.81 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3384, allocations: 126.4 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3384, allocations: 4.375 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3385, allocations: 4.375 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3388, allocations: 77.52 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3388, allocations: 8 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3388, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3388, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.3392, allocations: 67.92 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3394, allocations: 140.7 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.3399, allocations: 130.5 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3401, allocations: 40.95 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3402, allocations: 3.938 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3402, allocations: 34.56 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3402, allocations: 0 / 1.288 GB, free: 6.777 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.004329/0.3445, allocations: 0.7818 MB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3446, allocations: 55.41 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3447, allocations: 113.8 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3447, allocations: 25.7 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.3448, allocations: 88.14 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.3448, allocations: 35.69 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.3449, allocations: 25.7 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.345, allocations: 314.8 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.3455, allocations: 99.89 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.3459, allocations: 99.83 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.3467, allocations: 200.8 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3467, allocations: 0 / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009317/0.3477, allocations: 237.4 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3477, allocations: 4 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3477, allocations: 4 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3477, allocations: 4 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.348, allocations: 47.94 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3481, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3483, allocations: 35.95 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3483, allocations: 4 kB / 1.29 GB, free: 4.562 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.0001194/0.3484, allocations: 119.1 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3484, allocations: 11.89 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.3485, allocations: 17.12 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3485, allocations: 3.938 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3485, allocations: 4 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3485, allocations: 0 / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.3504, allocations: 0.5613 MB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3504, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.3507, allocations: 56 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3507, allocations: 4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3507, allocations: 0 / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3507, allocations: 7.938 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3507, allocations: 3.938 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3518, allocations: 345 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.3518, allocations: 4 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.3518, allocations: 0 / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.3521, allocations: 44.14 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3522, allocations: 11.92 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3522, allocations: 11.92 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.3522, allocations: 87.28 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3522, allocations: 0 / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003444/0.3526, allocations: 43.86 kB / 1.291 GB, free: 3.156 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.001621/0.3542, allocations: 0.8934 MB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009369/0.3551, allocations: 207.7 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3552, allocations: 0 / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.3556, allocations: 112.6 kB / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3558, allocations: 10 kB / 1.292 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.3608, allocations: 2.134 MB / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.3609, allocations: 71.34 kB / 1.295 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.361, allocations: 25.03 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3611, allocations: 35.34 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.3611, allocations: 0 / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.3859, allocations: 2.994 MB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.81, allocations: 7.547 kB / 1.298 GB, free: 12.7 MB / 0.9981 GB " [Timeout remaining time 288] (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.648581363959238] Failed to read output from testmodel.py, exit status != 0: 12.564389967941679 12.033191872 11.690660142 Calling exit ...