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.001678/0.001678, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001741/0.001741, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.561/1.561, 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 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 3.101/3.101, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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.002154/0.002154, allocations: 63.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 169.9 MB / 1.279 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00193/1.071, allocations: 0.6559 MB / 1.28 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002482/1.074, allocations: 1.508 MB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/1.074, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/1.074, allocations: 3.938 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/1.074, allocations: 7.094 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/1.074, allocations: 126.8 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/1.074, allocations: 24.8 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/1.074, allocations: 3.078 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/1.074, allocations: 16.16 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/1.075, allocations: 20.42 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/1.075, allocations: 6.188 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/1.075, allocations: 318.5 kB / 1.282 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/1.075, allocations: 10.97 kB / 1.282 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/1.075, allocations: 8.859 kB / 1.282 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/1.076, allocations: 193.5 kB / 1.282 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.076, allocations: 0 / 1.282 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.076, allocations: 4.531 kB / 1.282 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.076, allocations: 0 / 1.282 GB, free: 10.18 MB / 0.9981 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.0006731/1.076, allocations: 385.7 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.076, allocations: 9.688 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.023e-05/1.076, allocations: 4.656 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/1.076, allocations: 36.55 kB / 1.282 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004269/1.077, allocations: 59.05 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.077, allocations: 171.9 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/1.077, allocations: 1.812 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.077, allocations: 5.719 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/1.077, allocations: 77.05 kB / 1.283 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.077, allocations: 0 / 1.283 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.077, allocations: 2.594 kB / 1.283 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.077, allocations: 0 / 1.283 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/1.078, allocations: 74.94 kB / 1.283 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/1.078, allocations: 170.4 kB / 1.283 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/1.079, allocations: 122.6 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.079, allocations: 40.08 kB / 1.283 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/1.079, allocations: 9.609 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.079, allocations: 31.69 kB / 1.283 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.079, allocations: 0 / 1.283 GB, free: 9.176 MB / 0.9981 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.004496/1.083, allocations: 0.789 MB / 1.284 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.084, allocations: 52.72 kB / 1.284 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.084, allocations: 109.9 kB / 1.284 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.084, allocations: 32.03 kB / 1.284 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/1.084, allocations: 81.55 kB / 1.284 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/1.084, allocations: 33.3 kB / 1.284 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/1.084, allocations: 33.78 kB / 1.284 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.084, allocations: 319.8 kB / 1.284 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/1.084, allocations: 94.3 kB / 1.284 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/1.085, allocations: 104.8 kB / 1.285 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/1.086, allocations: 200.8 kB / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.086, allocations: 5.125 kB / 1.285 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00101/1.087, allocations: 240.8 kB / 1.285 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.087, allocations: 8.094 kB / 1.285 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.087, allocations: 0 / 1.285 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.087, allocations: 1.062 kB / 1.285 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/1.087, allocations: 54.27 kB / 1.285 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.087, allocations: 1.625 kB / 1.285 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/1.087, allocations: 35.95 kB / 1.285 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.087, allocations: 5.203 kB / 1.285 GB, free: 8.23 MB / 0.9981 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.0001121/1.088, allocations: 120.4 kB / 1.285 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/1.088, allocations: 4.344 kB / 1.285 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/1.088, allocations: 10.28 kB / 1.285 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.088, allocations: 5.562 kB / 1.285 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.088, allocations: 4.734 kB / 1.285 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.088, allocations: 0 / 1.285 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.09, allocations: 0.6038 MB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.09, allocations: 0.6094 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/1.09, allocations: 51.58 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.09, allocations: 1.062 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.09, allocations: 3.297 kB / 1.286 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.09, allocations: 10.31 kB / 1.286 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.09, allocations: 5.219 kB / 1.286 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.091, allocations: 347.6 kB / 1.286 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/1.091, allocations: 81.58 kB / 1.286 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.091, allocations: 1.531 kB / 1.286 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.091, allocations: 35.86 kB / 1.286 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.091, allocations: 18.86 kB / 1.286 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/1.091, allocations: 2.906 kB / 1.286 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.378e-05/1.091, allocations: 94.47 kB / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.091, allocations: 0 / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003534/1.092, allocations: 41.17 kB / 1.286 GB, free: 7.309 MB / 0.9981 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.001599/1.093, allocations: 0.9025 MB / 1.287 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.094, allocations: 208.6 kB / 1.288 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.094, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/1.095, allocations: 107.4 kB / 1.288 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/1.095, allocations: 11.94 kB / 1.288 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/1.101, allocations: 2.13 MB / 1.29 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.101, allocations: 0.6913 MB / 1.29 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000111/1.101, allocations: 28.27 kB / 1.29 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/1.101, allocations: 23.06 kB / 1.29 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.101, allocations: 1.375 kB / 1.29 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.121, allocations: 2.791 MB / 1.293 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.799, allocations: 6.469 kB / 1.293 GB, free: 3.953 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.46677398396423] Failed to read output from testmodel.py, exit status != 0: 9.928049103007652 9.944806853 8.865988889 Calling exit ...