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.001414/0.001414, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001639/0.001639, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.21/3.21, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.002058/0.002058, allocations: 71.73 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3403, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002176/0.3424, allocations: 0.7976 MB / 1.322 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3446, allocations: 1.528 MB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.3446, allocations: 4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.3447, allocations: 7.922 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.3447, allocations: 3.938 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.3453, allocations: 147.4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3454, allocations: 51.91 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.3455, allocations: 4 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3455, allocations: 27.91 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3456, allocations: 31.89 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3456, allocations: 7.938 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.3461, allocations: 319.4 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.3462, allocations: 15.92 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3462, allocations: 31.84 kB / 1.324 GB, free: 332 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.3466, allocations: 207.7 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3466, allocations: 4 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3466, allocations: 4 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3466, allocations: 3.938 kB / 1.324 GB, free: 112 kB / 1.014 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.0007547/0.3473, allocations: 402.9 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3474, allocations: 11.98 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.3474, allocations: 34.75 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.3479, allocations: 76.8 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3481, allocations: 168.3 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3481, allocations: 8.375 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.3481, allocations: 8.328 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.3485, allocations: 117.7 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3485, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3485, allocations: 4 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3485, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.3491, allocations: 103.9 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.3497, allocations: 340.7 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.3505, allocations: 150.4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.3507, allocations: 52.81 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3507, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.3508, allocations: 38.56 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3508, allocations: 3.938 kB / 1.325 GB, free: 14.45 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.01917/0.3699, allocations: 2.836 MB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.37, allocations: 55.34 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3701, allocations: 105.8 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.3702, allocations: 25.7 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.3702, allocations: 88.08 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3703, allocations: 43.64 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.3705, allocations: 69.58 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3707, allocations: 318.8 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.3714, allocations: 187.8 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.3721, allocations: 192.8 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.3736, allocations: 401.1 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3736, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001703/0.3753, allocations: 483 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3753, allocations: 6.031 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3753, allocations: 0 / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3753, allocations: 0 / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.3762, allocations: 111.7 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3762, allocations: 3.984 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.3768, allocations: 52.03 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.3769, allocations: 27.88 kB / 1.33 GB, free: 9.344 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.0001693/0.377, allocations: 117.8 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.3771, allocations: 4 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.3772, allocations: 8.156 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3772, allocations: 11.92 kB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3772, allocations: 3.984 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3772, allocations: 4 kB / 1.33 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.3797, allocations: 1.047 MB / 1.331 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3797, allocations: 0 / 1.331 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.3806, allocations: 115.7 kB / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3806, allocations: 4 kB / 1.332 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.3806, allocations: 23.92 kB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3806, allocations: 0 / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3806, allocations: 0 / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.3832, allocations: 0.7879 MB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3833, allocations: 117 kB / 1.332 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.3834, allocations: 4.062 kB / 1.332 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.3841, allocations: 47.94 kB / 1.332 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3842, allocations: 31.86 kB / 1.333 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.3842, allocations: 27.88 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.3843, allocations: 83.27 kB / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3843, allocations: 0 / 1.333 GB, free: 6.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004008/0.3847, allocations: 55.94 kB / 1.333 GB, free: 6.699 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.002901/0.3876, allocations: 1.345 MB / 1.334 GB, free: 5.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.3891, allocations: 419.5 kB / 1.334 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3891, allocations: 4 kB / 1.334 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.3899, allocations: 223.7 kB / 1.335 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3903, allocations: 14.42 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009109/0.3994, allocations: 2.935 MB / 1.337 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3997, allocations: 0.6924 MB / 1.338 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004961/0.4002, allocations: 92.66 kB / 1.338 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.4005, allocations: 63.3 kB / 1.338 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/0.4005, allocations: 4 kB / 1.338 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.4285, allocations: 4.589 MB / 1.343 GB, free: 12.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.721, allocations: 13.7 kB / 1.343 GB, free: 12.33 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.36153527512215] Failed to read output from testmodel.py, exit status != 0: 8.79076415207237 8.806957107 8.457130887 Calling exit ...