Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_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_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 191.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.17 kB / 0.6711 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002067/0.1771, allocations: 0.8552 MB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1789, allocations: 1.515 MB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.1789, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.1789, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.179, allocations: 3.938 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.1795, allocations: 127.6 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.1796, allocations: 51.89 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.1796, allocations: 8 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.1797, allocations: 23.92 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1797, allocations: 31.89 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1797, allocations: 4 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.1801, allocations: 319.4 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1802, allocations: 19.91 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.1802, allocations: 27.86 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1805, allocations: 207.8 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1805, allocations: 0 / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1805, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1805, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 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.0005844/0.1811, allocations: 399.4 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1811, allocations: 8.031 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1812, allocations: 38.73 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.1816, allocations: 76.75 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1818, allocations: 168.4 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1818, allocations: 384 / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1818, allocations: 12.38 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.1822, allocations: 113.7 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1822, allocations: 3.906 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1822, allocations: 4 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1822, allocations: 7.984 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.1827, allocations: 95.91 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1832, allocations: 336.6 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1838, allocations: 158.4 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.1841, allocations: 56.8 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1841, allocations: 4 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1841, allocations: 34.56 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.083e-06/0.1841, allocations: 0 / 0.7875 GB, free: 8.938 MB / 0.6075 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.01871/0.2029, allocations: 2.829 MB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2029, allocations: 59.34 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.203, allocations: 101.8 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.2031, allocations: 29.69 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2031, allocations: 96.05 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.2032, allocations: 39.44 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.2034, allocations: 69.67 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.2035, allocations: 314.8 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.2041, allocations: 191.8 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.2048, allocations: 195.8 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.206, allocations: 391.3 kB / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.206, allocations: 0 / 0.7917 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001461/0.2075, allocations: 481.2 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2075, allocations: 4 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2076, allocations: 4.125 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2076, allocations: 4 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.2084, allocations: 115.7 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2084, allocations: 0 / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.2091, allocations: 47.92 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.2091, allocations: 23.92 kB / 0.7924 GB, free: 3.84 MB / 0.6075 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.0001435/0.2093, allocations: 122.7 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.2094, allocations: 4 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.2094, allocations: 7.969 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2094, allocations: 3.938 kB / 0.7925 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2095, allocations: 8 kB / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2095, allocations: 0 / 0.7925 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2116, allocations: 1.043 MB / 0.7935 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2116, allocations: 3.938 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.2124, allocations: 111.7 kB / 0.7936 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2124, allocations: 0 / 0.7936 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.2125, allocations: 27.92 kB / 0.7937 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.2125, allocations: 0 / 0.7937 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2125, allocations: 4.953 kB / 0.7937 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.2147, allocations: 0.7879 MB / 0.7944 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2148, allocations: 116.9 kB / 0.7946 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.2149, allocations: 7.984 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.2156, allocations: 44 kB / 0.7946 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2157, allocations: 31.92 kB / 0.7946 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.2158, allocations: 23.94 kB / 0.7947 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.2158, allocations: 83.22 kB / 0.7947 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2158, allocations: 0 / 0.7947 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003556/0.2162, allocations: 52 kB / 0.7948 GB, free: 1.207 MB / 0.6075 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.002526/0.2187, allocations: 1.345 MB / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.2201, allocations: 439.6 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2201, allocations: 0 / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.2208, allocations: 223.6 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.2211, allocations: 11.94 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.2299, allocations: 2.965 MB / 0.7996 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2301, allocations: 0.6885 MB / 0.8003 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006601/0.2308, allocations: 92.66 kB / 0.8004 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.2311, allocations: 63.3 kB / 0.8005 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.2311, allocations: 4 kB / 0.8005 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/0.3612, allocations: 4.461 MB / 0.8048 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.3614, allocations: 220.9 kB / 0.805 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.182, allocations: 0 / 0.805 GB, free: 6.711 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)