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.001712/0.001712, allocations: 97.92 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.002545/0.002545, allocations: 217.5 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.221/3.221, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.002051/0.002051, allocations: 61.58 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002053/0.3554, allocations: 0.6458 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3576, allocations: 1.424 MB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.3576, allocations: 0 / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.3576, allocations: 3.938 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.3577, allocations: 7.938 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3582, allocations: 123.5 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.3583, allocations: 27.97 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.3584, allocations: 4 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.3584, allocations: 11.88 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.3585, allocations: 31.89 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3585, allocations: 0 / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.3589, allocations: 263.5 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.359, allocations: 7.922 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.359, allocations: 15.92 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3593, allocations: 171.8 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3593, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3593, allocations: 3.938 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3593, allocations: 4 kB / 1.348 GB, free: 13.17 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.0005355/0.3598, allocations: 309.8 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3599, allocations: 8.031 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.3599, allocations: 4.188 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.3599, allocations: 34.69 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.3603, allocations: 56.86 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3604, allocations: 126.4 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3605, allocations: 384 / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3605, allocations: 4.375 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3608, allocations: 73.58 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3608, allocations: 8 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3608, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3608, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.3611, allocations: 71.91 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3613, allocations: 144.7 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.3619, allocations: 118.5 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.3621, allocations: 44.94 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3621, allocations: 3.938 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3621, allocations: 30.56 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3621, allocations: 4 kB / 1.349 GB, free: 12.02 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.00427/0.3664, allocations: 0.7866 MB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3664, allocations: 51.41 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3665, allocations: 113.8 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3666, allocations: 25.7 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.3666, allocations: 96.11 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.3667, allocations: 27.75 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.3667, allocations: 25.7 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3669, allocations: 322.8 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.3673, allocations: 91.91 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3678, allocations: 99.92 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008603/0.3687, allocations: 204.7 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3687, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009615/0.3696, allocations: 241.4 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3696, allocations: 4 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3697, allocations: 3.984 kB / 1.351 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3697, allocations: 8 kB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.37, allocations: 47.94 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.37, allocations: 4 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3703, allocations: 35.97 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.3703, allocations: 7.984 kB / 1.351 GB, free: 9.789 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.0001141/0.3704, allocations: 121.7 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.3704, allocations: 7.953 kB / 1.351 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.3705, allocations: 8.375 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3705, allocations: 8 kB / 1.351 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3705, allocations: 0 / 1.351 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3705, allocations: 3.984 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3723, allocations: 0.5497 MB / 1.352 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3724, allocations: 4 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3726, allocations: 52 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3726, allocations: 4 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3726, allocations: 4 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.3727, allocations: 11.92 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3727, allocations: 8.688 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.3736, allocations: 337 kB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.3737, allocations: 11.94 kB / 1.352 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3737, allocations: 4 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.374, allocations: 39.95 kB / 1.352 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.374, allocations: 11.92 kB / 1.352 GB, free: 8.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.374, allocations: 8 kB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.3741, allocations: 91.27 kB / 1.352 GB, free: 8.426 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.352 GB, free: 8.426 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003413/0.3744, allocations: 39.88 kB / 1.352 GB, free: 8.387 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.001461/0.3759, allocations: 0.8973 MB / 1.353 GB, free: 7.457 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009287/0.3768, allocations: 204.4 kB / 1.353 GB, free: 7.258 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3768, allocations: 4 kB / 1.353 GB, free: 7.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.3773, allocations: 104 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3775, allocations: 11.94 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.3824, allocations: 2.139 MB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.3824, allocations: 67.34 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.3825, allocations: 33.11 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.3826, allocations: 27.42 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of SimCode: time 6.62e-07/0.3826, allocations: 0 / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.4065, allocations: 3 MB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 10.81 kB / 1.359 GB, free: 1.902 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.90218791400548] Failed to read output from testmodel.py, exit status != 0: 12.096530353999697 12.120146556 11.756445563 Calling exit ...