Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001426/0.001426, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00162/0.00162, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.332/3.332, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_12_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_12_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.002148/0.002148, allocations: 72.58 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002038/0.3601, allocations: 0.7773 MB / 1.326 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3622, allocations: 1.459 MB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.3623, allocations: 3.938 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3623, allocations: 3.938 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.3623, allocations: 7.938 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.3629, allocations: 150.3 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.363, allocations: 43.97 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.363, allocations: 8.188 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.3631, allocations: 31.89 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.3632, allocations: 27.84 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3632, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.3636, allocations: 251.5 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3636, allocations: 15.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3636, allocations: 23.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.364, allocations: 203.4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.364, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.364, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.364, allocations: 0 / 1.328 GB, free: 15.35 MB / 1.029 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.000647/0.3646, allocations: 325.8 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3647, allocations: 8.031 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.3647, allocations: 38.73 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.3652, allocations: 76.75 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3653, allocations: 114.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3653, allocations: 8.375 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.3654, allocations: 12.33 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.3658, allocations: 161.1 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3658, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3658, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3658, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.3663, allocations: 103.9 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.3669, allocations: 303.8 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.3676, allocations: 150.4 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3679, allocations: 52.81 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3679, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3679, allocations: 34.56 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3679, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 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.01853/0.3865, allocations: 2.693 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3865, allocations: 55.34 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3866, allocations: 105.8 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.3867, allocations: 29.7 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3868, allocations: 84.09 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.3868, allocations: 43.64 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.387, allocations: 69.58 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3872, allocations: 322.8 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.3879, allocations: 187.8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.3886, allocations: 195.8 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.39, allocations: 389.9 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.39, allocations: 0 / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001632/0.3917, allocations: 481.2 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3917, allocations: 4 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3917, allocations: 0 / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3917, allocations: 4.188 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.3925, allocations: 115.7 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3926, allocations: 3.938 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.3931, allocations: 51.94 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.3932, allocations: 23.92 kB / 1.334 GB, free: 8.91 MB / 1.029 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.0001658/0.3934, allocations: 113.8 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.3935, allocations: 4 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.3935, allocations: 20.08 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3935, allocations: 15.88 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3935, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3935, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.3959, allocations: 0.972 MB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3959, allocations: 0 / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/0.3968, allocations: 119.7 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3968, allocations: 3.938 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.3968, allocations: 23.94 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3968, allocations: 0 / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3968, allocations: 0 / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.3994, allocations: 0.784 MB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.3995, allocations: 43.86 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.3996, allocations: 4 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.4003, allocations: 48 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4004, allocations: 27.92 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.4004, allocations: 27.92 kB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.4005, allocations: 79.28 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4005, allocations: 0 / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003819/0.4009, allocations: 55.94 kB / 1.336 GB, free: 6.438 MB / 1.029 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.002936/0.4038, allocations: 1.344 MB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.4053, allocations: 428.7 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4053, allocations: 0 / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.4061, allocations: 219.7 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4065, allocations: 9.5 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009012/0.4155, allocations: 2.941 MB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4157, allocations: 87.2 kB / 1.341 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005628/0.4162, allocations: 88.67 kB / 1.341 GB, free: 1.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.4165, allocations: 67.3 kB / 1.341 GB, free: 1.152 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4165, allocations: 0 / 1.341 GB, free: 1.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.4522, allocations: 5.343 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 5.953 kB / 1.347 GB, free: 11.93 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.90252686291933] Failed to read output from testmodel.py, exit status != 0: 12.026858020108193 12.052782219 11.683781524 Calling exit ...