Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.531/2.531, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001086, allocations: 78.94 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006414, allocations: 13.88 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.217, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001655/0.2188, allocations: 0.5009 MB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00349/0.2223, allocations: 1.445 MB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.2224, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.2225, allocations: 3.984 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.2226, allocations: 11.92 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008302/0.2234, allocations: 103.7 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2236, allocations: 31.97 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.2236, allocations: 7.984 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2238, allocations: 27.92 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.2239, allocations: 27.91 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.224, allocations: 4 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.2249, allocations: 319.4 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.225, allocations: 15.97 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.2251, allocations: 29.64 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.2256, allocations: 160 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2256, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2256, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2257, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 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.001137/0.2268, allocations: 395.2 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.2269, allocations: 8.031 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.227, allocations: 42.56 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2281, allocations: 91.77 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2283, allocations: 159.1 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.2284, allocations: 8 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.2284, allocations: 4 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.2294, allocations: 122.5 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2294, allocations: 4 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2295, allocations: 7.938 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2295, allocations: 0 / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.2309, allocations: 127.9 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.232, allocations: 336.6 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.2339, allocations: 186.4 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2339, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.234, allocations: 42.52 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.707e-06/0.234, allocations: 0 / 0.9824 GB, free: 23.9 MB / 0.6198 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.05347/0.2875, allocations: 3.182 MB / 0.9855 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2876, allocations: 63.33 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2877, allocations: 101.9 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.2879, allocations: 29.8 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.288, allocations: 88.06 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2881, allocations: 43.38 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.2882, allocations: 4 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/0.2883, allocations: 314.8 kB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.2902, allocations: 219.8 kB / 0.9863 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.292, allocations: 217.5 kB / 0.9865 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.2939, allocations: 220 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.294, allocations: 0 / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004109/0.2981, allocations: 0.5167 MB / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.2982, allocations: 5.25 kB / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.2982, allocations: 0 / 0.9872 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.2983, allocations: 3.938 kB / 0.9872 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/0.3018, allocations: 123.8 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3018, allocations: 0 / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3031, allocations: 59.94 kB / 0.9874 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.3032, allocations: 23.94 kB / 0.9874 GB, free: 18.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.3034, allocations: 109.8 kB / 0.9875 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3035, allocations: 15.86 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.3036, allocations: 19.95 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3036, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3036, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3036, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.3072, allocations: 1.098 MB / 0.9886 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3073, allocations: 4 kB / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/0.3096, allocations: 119.8 kB / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.3097, allocations: 0 / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.3099, allocations: 19.94 kB / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3099, allocations: 0 / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.3099, allocations: 3.938 kB / 0.9888 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007169/0.3171, allocations: 0.8789 MB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.3176, allocations: 113 kB / 0.9897 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.3177, allocations: 8.062 kB / 0.9898 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.3191, allocations: 63.94 kB / 0.9898 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.3193, allocations: 23.92 kB / 0.9898 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.421e-05/0.3194, allocations: 27.92 kB / 0.9899 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.3195, allocations: 83.47 kB / 0.9899 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3195, allocations: 0 / 0.9899 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005604/0.3201, allocations: 56 kB / 0.99 GB, free: 15.79 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004557/0.3246, allocations: 1.419 MB / 0.9914 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.3273, allocations: 475.5 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3273, allocations: 3.938 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3286, allocations: 243.7 kB / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.329, allocations: 7.984 kB / 0.9921 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.3476, allocations: 1.867 MB / 0.9939 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3479, allocations: 0.6965 MB / 0.9946 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001855/0.3498, allocations: 88.67 kB / 0.9947 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.3504, allocations: 67.3 kB / 0.9947 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.392e-06/0.3505, allocations: 0 / 0.9947 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.382, allocations: 4.137 MB / 0.9988 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.3824, allocations: 204.8 kB / 0.999 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.102, allocations: 0 / 0.999 GB, free: 6.629 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)