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.001692/0.001692, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002395/0.002395, allocations: 217.5 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.243/3.243, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.00204/0.00204, allocations: 65.84 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002026/0.3425, allocations: 0.6459 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3452, allocations: 1.517 MB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.3452, allocations: 4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.3453, allocations: 3.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.3453, allocations: 3.984 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.3459, allocations: 123.5 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.346, allocations: 27.86 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.346, allocations: 4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.3461, allocations: 23.91 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.3462, allocations: 15.92 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3462, allocations: 4 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.3468, allocations: 319.3 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.3468, allocations: 7.969 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.3468, allocations: 15.88 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.3472, allocations: 187.8 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3472, allocations: 0 / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3472, allocations: 0 / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.3472, allocations: 4 kB / 1.348 GB, free: 13.51 MB / 1.045 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.0006258/0.3478, allocations: 305.8 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3479, allocations: 12.03 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.3479, allocations: 192 / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.3479, allocations: 30.75 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003898/0.3483, allocations: 64.86 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3485, allocations: 114.4 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3485, allocations: 4.312 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3485, allocations: 4.375 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.3488, allocations: 81.58 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3488, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3488, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3488, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.3491, allocations: 75.91 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3493, allocations: 144.8 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.3499, allocations: 126.4 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3501, allocations: 40.94 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3501, allocations: 7.875 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3501, allocations: 42.56 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3501, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 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.004124/0.3542, allocations: 0.7868 MB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3543, allocations: 55.41 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3544, allocations: 109.8 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3544, allocations: 29.7 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.3545, allocations: 88.12 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.3545, allocations: 27.75 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.3546, allocations: 25.7 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3548, allocations: 318.8 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.3552, allocations: 95.91 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.3556, allocations: 99.89 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.3565, allocations: 196.5 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3565, allocations: 4 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009572/0.3574, allocations: 233.5 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3575, allocations: 11.94 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.3575, allocations: 3.984 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3575, allocations: 0 / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.3578, allocations: 56.31 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3578, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.358, allocations: 31.97 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.358, allocations: 3.984 kB / 1.351 GB, free: 10.13 MB / 1.045 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.000119/0.3582, allocations: 125.7 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3582, allocations: 7.953 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.3582, allocations: 8.375 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3582, allocations: 0 / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3582, allocations: 0 / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3582, allocations: 7.984 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.36, allocations: 0.573 MB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.36, allocations: 0.75 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.3603, allocations: 56 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3603, allocations: 0 / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3603, allocations: 7.938 kB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3603, allocations: 4 kB / 1.352 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3603, allocations: 3.938 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3613, allocations: 345 kB / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.3614, allocations: 7.953 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.3614, allocations: 0 / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3616, allocations: 43.95 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.3617, allocations: 15.86 kB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3617, allocations: 7.984 kB / 1.352 GB, free: 8.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.3618, allocations: 87.28 kB / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3618, allocations: 0 / 1.353 GB, free: 8.754 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003288/0.3621, allocations: 43.86 kB / 1.353 GB, free: 8.711 MB / 1.045 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.001552/0.3637, allocations: 0.8895 MB / 1.353 GB, free: 7.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.3647, allocations: 211.9 kB / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3647, allocations: 0 / 1.354 GB, free: 7.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.3652, allocations: 108.1 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3655, allocations: 15.88 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.3705, allocations: 2.136 MB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3709, allocations: 0.6885 MB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.371, allocations: 16.67 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.3711, allocations: 31.41 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of SimCode: time 1.492e-06/0.3711, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3941, allocations: 2.918 MB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.01, allocations: 9.484 kB / 1.359 GB, free: 1.688 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.76025434001349] Failed to read output from testmodel.py, exit status != 0: 12.168566551001277 12.192151718 11.84058082 Calling exit ...