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.001469/0.001469, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001684/0.001684, allocations: 215 kB / 20.13 MB, free: 2.949 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.576/1.576, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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="cs",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="cs",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.002176/0.002176, allocations: 59.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 176.1 MB / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001882/1.023, allocations: 0.7891 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.024, allocations: 1.538 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/1.024, allocations: 0 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/1.024, allocations: 3.938 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/1.024, allocations: 0 / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/1.025, allocations: 149.6 kB / 1.324 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/1.025, allocations: 51.19 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/1.025, allocations: 10.77 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/1.025, allocations: 25.88 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/1.025, allocations: 37.8 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/1.025, allocations: 7.031 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/1.026, allocations: 321 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/1.026, allocations: 9.734 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/1.026, allocations: 31.84 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/1.026, allocations: 209 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.026, allocations: 0 / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/1.026, allocations: 0 / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.026, allocations: 3.938 kB / 1.325 GB, free: 22.78 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.0005603/1.026, allocations: 407.2 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.026, allocations: 19.17 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.353e-05/1.026, allocations: 192 / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/1.026, allocations: 37.66 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/1.027, allocations: 73.34 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.111e-05/1.027, allocations: 167.2 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/1.027, allocations: 11.06 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/1.027, allocations: 7.078 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/1.027, allocations: 117.9 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.027, allocations: 3.938 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.027, allocations: 2.625 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.027, allocations: 0 / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/1.028, allocations: 104 kB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/1.028, allocations: 335.7 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/1.029, allocations: 152.6 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/1.029, allocations: 58.25 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/1.029, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.029, allocations: 33.38 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.029, allocations: 0 / 1.326 GB, free: 21.64 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.0189/1.048, allocations: 2.837 MB / 1.329 GB, free: 20.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.048, allocations: 53 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/1.048, allocations: 109.5 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/1.048, allocations: 26.2 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/1.048, allocations: 89.25 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/1.048, allocations: 43.34 kB / 1.329 GB, free: 20.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.049, allocations: 68.95 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/1.049, allocations: 321.8 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/1.049, allocations: 192.8 kB / 1.33 GB, free: 20.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000751/1.05, allocations: 192.9 kB / 1.33 GB, free: 20.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.052, allocations: 392.9 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.052, allocations: 1.094 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001701/1.053, allocations: 479 kB / 1.331 GB, free: 19.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.053, allocations: 4.469 kB / 1.331 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.053, allocations: 1.641 kB / 1.331 GB, free: 19.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.053, allocations: 7.875 kB / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/1.054, allocations: 107.6 kB / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.054, allocations: 0 / 1.331 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/1.055, allocations: 47.53 kB / 1.331 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.055, allocations: 26.06 kB / 1.331 GB, free: 19.78 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.000142/1.055, allocations: 116.1 kB / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/1.055, allocations: 3.25 kB / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/1.055, allocations: 10.09 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.055, allocations: 5.469 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.055, allocations: 1.516 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.055, allocations: 8.688 kB / 1.331 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/1.058, allocations: 1.05 MB / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.058, allocations: 5.844 kB / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/1.058, allocations: 109.3 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.058, allocations: 1.375 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/1.058, allocations: 21.95 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.058, allocations: 0.7031 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.058, allocations: 5.188 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/1.061, allocations: 0.795 MB / 1.333 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/1.061, allocations: 117.8 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/1.061, allocations: 1.094 kB / 1.333 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/1.062, allocations: 52.28 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.062, allocations: 25.58 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/1.062, allocations: 27.8 kB / 1.333 GB, free: 18.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.87e-05/1.062, allocations: 79.72 kB / 1.333 GB, free: 18.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0.9062 kB / 1.333 GB, free: 18.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004308/1.062, allocations: 55.25 kB / 1.333 GB, free: 18.42 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.002954/1.065, allocations: 1.353 MB / 1.335 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.067, allocations: 413.7 kB / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.067, allocations: 0 / 1.335 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/1.068, allocations: 225.9 kB / 1.335 GB, free: 17.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.068, allocations: 8.922 kB / 1.335 GB, free: 17.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/1.077, allocations: 2.949 MB / 1.338 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/1.077, allocations: 0.6902 MB / 1.339 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004751/1.078, allocations: 89.58 kB / 1.339 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/1.078, allocations: 68.14 kB / 1.339 GB, free: 15.09 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.078, allocations: 0 / 1.339 GB, free: 15.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/1.105, allocations: 4.651 MB / 1.344 GB, free: 14.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.752, allocations: 11.09 kB / 1.344 GB, free: 14.55 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.328485923993867] Failed to read output from testmodel.py, exit status != 0: 9.888487273012288 9.910598671 8.880825308 Calling exit ...