Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001483/0.001483, allocations: 120 kB / 17.17 MB, free: 5.977 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.001542/0.001542, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 281 kB / 309.8 MB, free: 3.453 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.056/1.056, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002838/0.002838, allocations: 103.8 kB / 0.7347 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5346/0.5374, allocations: 95.33 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001666/0.5391, allocations: 0.6462 MB / 0.8285 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.5409, allocations: 1.51 MB / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.541, allocations: 0 / 0.8299 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.541, allocations: 10.5 kB / 0.8299 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.5411, allocations: 6.047 kB / 0.8299 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.5415, allocations: 125.9 kB / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.5416, allocations: 25.86 kB / 0.8301 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.5417, allocations: 6.734 kB / 0.8301 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.5417, allocations: 14.69 kB / 0.8301 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.5418, allocations: 21 kB / 0.8301 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.5418, allocations: 0 / 0.8301 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.5423, allocations: 324.7 kB / 0.8304 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.5423, allocations: 4.531 kB / 0.8304 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.5424, allocations: 17.64 kB / 0.8305 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.5427, allocations: 191 kB / 0.8306 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5427, allocations: 0.6562 kB / 0.8306 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5427, allocations: 1.781 kB / 0.8306 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5427, allocations: 0 / 0.8306 GB, free: 1.266 MB / 0.5762 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.0005439/0.5433, allocations: 384.2 kB / 0.831 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5433, allocations: 10.94 kB / 0.831 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.607e-05/0.5434, allocations: 4.125 kB / 0.831 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.5434, allocations: 35.09 kB / 0.8311 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.5438, allocations: 66.34 kB / 0.8311 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.5439, allocations: 165.6 kB / 0.8313 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5439, allocations: 3.25 kB / 0.8313 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.544, allocations: 384 / 0.8313 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.5442, allocations: 84.69 kB / 0.8314 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5442, allocations: 4.703 kB / 0.8314 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5442, allocations: 1.25 kB / 0.8314 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5442, allocations: 0 / 0.8314 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.5446, allocations: 72.59 kB / 0.8314 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.5448, allocations: 165.9 kB / 0.8316 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.5453, allocations: 119.5 kB / 0.8317 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.5455, allocations: 42.97 kB / 0.8318 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.5455, allocations: 6.922 kB / 0.8318 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.5455, allocations: 34.5 kB / 0.8318 GB, free: 272 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.031e-06/0.5455, allocations: 0 / 0.8318 GB, free: 272 kB / 0.5762 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.004114/0.5496, allocations: 0.7868 MB / 0.8326 GB, free: 132 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5497, allocations: 54.12 kB / 0.8326 GB, free: 68 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5498, allocations: 116 kB / 0.8327 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5498, allocations: 29.19 kB / 0.8328 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.5499, allocations: 84.89 kB / 0.8328 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.5499, allocations: 29.55 kB / 0.8329 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.55, allocations: 25.2 kB / 0.8329 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5501, allocations: 323.7 kB / 0.8332 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.5505, allocations: 94.36 kB / 0.8333 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.551, allocations: 96.95 kB / 0.8334 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.5518, allocations: 196.9 kB / 0.8336 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5518, allocations: 0 / 0.8336 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009527/0.5528, allocations: 240.7 kB / 0.8338 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5528, allocations: 5.625 kB / 0.8338 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5528, allocations: 4.875 kB / 0.8338 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5528, allocations: 1.781 kB / 0.8338 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.5531, allocations: 57.06 kB / 0.8339 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5531, allocations: 1.797 kB / 0.8339 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.5534, allocations: 44.25 kB / 0.8339 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.5534, allocations: 5.594 kB / 0.8339 GB, free: 15.32 MB / 0.5919 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.000114/0.5535, allocations: 120.6 kB / 0.834 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.5535, allocations: 7.297 kB / 0.834 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.5536, allocations: 9.359 kB / 0.834 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5536, allocations: 1.875 kB / 0.834 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5536, allocations: 8.625 kB / 0.8341 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5536, allocations: 0 / 0.8341 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5554, allocations: 0.5924 MB / 0.8346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5554, allocations: 14.31 kB / 0.8346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.5556, allocations: 54.16 kB / 0.8347 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5556, allocations: 3.125 kB / 0.8347 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5557, allocations: 1.641 kB / 0.8347 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5557, allocations: 6.125 kB / 0.8347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5557, allocations: 5.031 kB / 0.8347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5567, allocations: 335.2 kB / 0.835 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.5567, allocations: 87.48 kB / 0.8351 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.5568, allocations: 2.859 kB / 0.8351 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.557, allocations: 32.91 kB / 0.8351 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.5571, allocations: 22.11 kB / 0.8352 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5571, allocations: 3.656 kB / 0.8352 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.5572, allocations: 95.73 kB / 0.8353 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5572, allocations: 0 / 0.8353 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003532/0.5575, allocations: 37.06 kB / 0.8353 GB, free: 14.41 MB / 0.5919 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.001536/0.5591, allocations: 0.9031 MB / 0.8362 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009913/0.5601, allocations: 210.6 kB / 0.8364 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5601, allocations: 4 kB / 0.8364 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.5605, allocations: 104.1 kB / 0.8365 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.5608, allocations: 8.531 kB / 0.8365 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.5656, allocations: 2.135 MB / 0.8386 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.566, allocations: 0.6876 MB / 0.8393 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.5661, allocations: 22.23 kB / 0.8393 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.5662, allocations: 28.14 kB / 0.8393 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.5662, allocations: 1.344 kB / 0.8393 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.5888, allocations: 2.827 MB / 0.8421 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.922, allocations: 3.781 kB / 0.8421 GB, free: 11.06 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.848672047024593] Failed to read output from testmodel.py, exit status != 0: 9.047604758001398 9.07610815 8.528362026 Calling exit ...