Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001376/0.001376, 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.001549/0.001549, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.462/1.462, 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 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 2.901/2.901, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_11_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_11_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.002239/0.002239, allocations: 68.05 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3727, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002297/0.375, allocations: 0.7776 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3772, allocations: 1.468 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3772, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3773, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.3773, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.3779, allocations: 151.4 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.378, allocations: 51.91 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.378, allocations: 4 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.3781, allocations: 23.92 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.3782, allocations: 35.81 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3782, allocations: 4 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3786, allocations: 247.5 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3787, allocations: 15.98 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.3787, allocations: 19.86 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.379, allocations: 205.2 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.379, allocations: 3.938 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.379, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3791, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 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.0006734/0.3797, allocations: 323.9 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3798, allocations: 12.03 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.3798, allocations: 42.69 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.3803, allocations: 72.8 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3804, allocations: 110.5 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.3804, allocations: 8.375 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3804, allocations: 12.36 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.3808, allocations: 158.9 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3808, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3809, allocations: 8 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3809, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.3813, allocations: 107.8 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/0.3819, allocations: 291.8 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/0.3826, allocations: 154.4 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.3828, allocations: 56.8 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3829, allocations: 0 / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3829, allocations: 38.56 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3829, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 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.01801/0.4009, allocations: 2.679 MB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.401, allocations: 55.34 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.4011, allocations: 101.8 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.4011, allocations: 29.7 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.4012, allocations: 96.03 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.4013, allocations: 39.73 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.4014, allocations: 73.52 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4016, allocations: 322.8 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.4023, allocations: 191.7 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.403, allocations: 187.9 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4044, allocations: 401.7 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4044, allocations: 0 / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001643/0.406, allocations: 470 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4061, allocations: 8 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4061, allocations: 3.938 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4061, allocations: 0 / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.407, allocations: 115.7 kB / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.407, allocations: 5.016 kB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.4076, allocations: 43.94 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.4077, allocations: 23.94 kB / 1.292 GB, free: 2.953 MB / 0.9825 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.0001724/0.4079, allocations: 113.8 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.408, allocations: 11.95 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.408, allocations: 12.06 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.408, allocations: 7.922 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.408, allocations: 0 / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.408, allocations: 4 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.4105, allocations: 0.9874 MB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4105, allocations: 4 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.4113, allocations: 103.7 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4113, allocations: 4 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.4114, allocations: 23.92 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4114, allocations: 0 / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4114, allocations: 4 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.4139, allocations: 0.7909 MB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4141, allocations: 47.81 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.4142, allocations: 0 / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.4148, allocations: 52 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.4149, allocations: 23.92 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.415, allocations: 23.94 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.4151, allocations: 87.27 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4151, allocations: 3.938 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003995/0.4155, allocations: 59.94 kB / 1.294 GB, free: 480 kB / 0.9825 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.002924/0.4184, allocations: 1.337 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.4199, allocations: 423.5 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4199, allocations: 4 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.4207, allocations: 219.7 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.4211, allocations: 15.92 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.4303, allocations: 2.938 MB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.4305, allocations: 87.77 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.431, allocations: 96.64 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.4313, allocations: 67.3 kB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.4313, allocations: 0 / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.4693, allocations: 5.332 MB / 1.304 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.95, allocations: 13.92 kB / 1.304 GB, free: 5.977 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.718946156091988] Failed to read output from testmodel.py, exit status != 0: 12.635334915015846 12.082025827 11.69967583 Calling exit ...