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.001732/0.001732, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002188/0.002188, allocations: 214.4 kB / 22.25 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.949 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.278/3.278, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.002889/0.002889, allocations: 68.81 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3472, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00281/0.35, allocations: 0.8026 MB / 1.327 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.3529, allocations: 1.54 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.353, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.3531, allocations: 7.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.3531, allocations: 3.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.3539, allocations: 143.5 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.354, allocations: 55.89 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.829e-05/0.3541, allocations: 4.266 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3542, allocations: 23.92 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3543, allocations: 35.89 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.3544, allocations: 4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007122/0.3551, allocations: 319.4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.3551, allocations: 15.91 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3551, allocations: 27.86 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.3557, allocations: 215.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3557, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3557, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3557, allocations: 4 kB / 1.329 GB, free: 14.68 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.000777/0.3565, allocations: 325.8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3566, allocations: 8.031 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.3566, allocations: 42.73 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.3572, allocations: 72.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3574, allocations: 114.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.3574, allocations: 8.359 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3574, allocations: 12.33 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.3579, allocations: 114.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.358, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.358, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.358, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.3586, allocations: 99.89 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.3595, allocations: 311.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/0.3604, allocations: 154.4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.3607, allocations: 56.81 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3607, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3608, allocations: 34.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3608, allocations: 0 / 1.33 GB, free: 13.22 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.02171/0.3825, allocations: 2.683 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3825, allocations: 63.28 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.3826, allocations: 101.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.3827, allocations: 29.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3827, allocations: 84.09 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.3828, allocations: 47.64 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.383, allocations: 61.58 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3832, allocations: 322.8 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.3838, allocations: 195.8 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.3845, allocations: 192.8 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.3858, allocations: 389.6 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3858, allocations: 4 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001543/0.3873, allocations: 484.7 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3873, allocations: 5.875 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3873, allocations: 0 / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3874, allocations: 0 / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.3882, allocations: 115.7 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3882, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.3888, allocations: 51.94 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.3889, allocations: 24.03 kB / 1.335 GB, free: 8.305 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.000184/0.3891, allocations: 118.4 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.3892, allocations: 4 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.3893, allocations: 16.05 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3893, allocations: 3.938 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3893, allocations: 4 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3893, allocations: 7.938 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.3918, allocations: 1.011 MB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3918, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.3927, allocations: 107.7 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.3927, allocations: 4.188 kB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.3928, allocations: 27.92 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3928, allocations: 3.938 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3928, allocations: 0 / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.3952, allocations: 0.7881 MB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.3954, allocations: 43.81 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.3954, allocations: 8 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.3961, allocations: 47.94 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.3962, allocations: 27.92 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.3963, allocations: 31.92 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.3963, allocations: 79.28 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3963, allocations: 0 / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000427/0.3968, allocations: 55.94 kB / 1.337 GB, free: 5.785 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.002846/0.3996, allocations: 1.341 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.4011, allocations: 423.5 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4011, allocations: 0 / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.4018, allocations: 223.7 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4021, allocations: 10.33 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008641/0.4108, allocations: 2.935 MB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.4111, allocations: 0.6924 MB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005372/0.4117, allocations: 92.94 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4119, allocations: 67.3 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.4119, allocations: 3.938 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05359/0.4655, allocations: 4.782 MB / 1.348 GB, free: 11.24 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.63, allocations: 8.453 kB / 1.348 GB, free: 11.23 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.480829040985554] Failed to read output from testmodel.py, exit status != 0: 12.785064030904323 12.809044464 12.449580588 Calling exit ...