Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001433/0.001433, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001683/0.001683, allocations: 216.5 kB / 22.25 MB, free: 4.852 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.809 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.323/3.323, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",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.002128/0.002128, allocations: 69 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00221/0.379, allocations: 0.7903 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3811, allocations: 1.452 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.3812, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.3812, allocations: 4 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.3813, allocations: 3.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.3818, allocations: 139.4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.3819, allocations: 55.91 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3819, allocations: 8.266 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.382, allocations: 27.91 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.3821, allocations: 27.84 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3821, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.3825, allocations: 251.5 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3825, allocations: 15.98 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.3825, allocations: 23.86 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3828, allocations: 199.4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3828, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3828, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3828, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006322/0.3835, allocations: 321.8 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3835, allocations: 8.031 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.3836, allocations: 42.73 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.384, allocations: 76.73 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3841, allocations: 114.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3842, allocations: 384 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3842, allocations: 8.375 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.3846, allocations: 169.1 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3846, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3846, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3846, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.3851, allocations: 107.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3857, allocations: 291.8 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.3864, allocations: 158.4 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3866, allocations: 48.81 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3866, allocations: 4 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3867, allocations: 38.55 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3867, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 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=11): time 0.01822/0.4049, allocations: 2.693 MB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.4049, allocations: 55.34 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.405, allocations: 105.8 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.4051, allocations: 29.7 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.4052, allocations: 92.08 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.4052, allocations: 31.7 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.4054, allocations: 73.56 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4056, allocations: 314.8 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.4063, allocations: 191.8 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.407, allocations: 199.7 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.4084, allocations: 384.5 kB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4084, allocations: 7.938 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001652/0.41, allocations: 483.4 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.41, allocations: 4 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.41, allocations: 0 / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4101, allocations: 4 kB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.4109, allocations: 111.7 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4109, allocations: 0 / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.4115, allocations: 55.94 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.4116, allocations: 19.94 kB / 1.372 GB, free: 4.637 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001765/0.4117, allocations: 113.8 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.4118, allocations: 11.94 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.4119, allocations: 12.06 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4119, allocations: 7.938 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4119, allocations: 0 / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4119, allocations: 0 / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.4143, allocations: 0.9835 MB / 1.373 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.4143, allocations: 3.984 kB / 1.373 GB, free: 3.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.4151, allocations: 111.7 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4151, allocations: 0 / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.4151, allocations: 19.94 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4151, allocations: 1.016 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4152, allocations: 4 kB / 1.374 GB, free: 3.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.4176, allocations: 0.7917 MB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4178, allocations: 43.83 kB / 1.374 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.4179, allocations: 4 kB / 1.374 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.4185, allocations: 48 kB / 1.374 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.4186, allocations: 31.86 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.4187, allocations: 23.92 kB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.4187, allocations: 83.28 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4187, allocations: 0 / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004166/0.4192, allocations: 55.94 kB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.002913/0.4221, allocations: 1.337 MB / 1.376 GB, free: 0.793 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.4236, allocations: 423.5 kB / 1.376 GB, free: 388 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4236, allocations: 0 / 1.376 GB, free: 388 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.4244, allocations: 223.7 kB / 1.377 GB, free: 164 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.4248, allocations: 9.688 kB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.434, allocations: 2.947 MB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.4341, allocations: 79.27 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00058/0.4347, allocations: 92.67 kB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.435, allocations: 67.3 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.435, allocations: 0 / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.4726, allocations: 5.348 MB / 1.385 GB, free: 7.668 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.46, allocations: 8.047 kB / 1.385 GB, free: 7.66 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.246447672136128] Failed to read output from testmodel.py, exit status != 0: 12.570365537889302 12.596471326 12.210116007 Calling exit ...