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 1.662/1.662, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.001121/0.001121, allocations: 182.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.001098/0.001097, allocations: 88.53 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 13 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2104, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009899/0.2115, allocations: 0.5087 MB / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2132, allocations: 1.436 MB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.2133, allocations: 4 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.2133, allocations: 3.938 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.2134, allocations: 0 / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2139, allocations: 119.7 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.214, allocations: 43.91 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2141, allocations: 4 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.2141, allocations: 19.92 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.2142, allocations: 39.88 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2142, allocations: 4 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.2147, allocations: 307.3 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.2147, allocations: 15.92 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.2148, allocations: 37.7 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.2151, allocations: 148 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2151, allocations: 0 / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2151, allocations: 0 / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2151, allocations: 0 / 0.9814 GB, free: 25.37 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.0006962/0.2158, allocations: 387.4 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.2159, allocations: 12.03 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.2159, allocations: 38.75 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.2164, allocations: 84.75 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2165, allocations: 172.3 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.2165, allocations: 4.375 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2166, allocations: 12.36 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.217, allocations: 117.7 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.217, allocations: 0 / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.217, allocations: 4 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.217, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.2175, allocations: 127.9 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.218, allocations: 344.5 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.2186, allocations: 186.4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.2188, allocations: 64.81 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2189, allocations: 7.938 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2189, allocations: 34.5 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2189, allocations: 0 / 0.9829 GB, free: 23.63 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.0169/0.2358, allocations: 3.188 MB / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2359, allocations: 55.34 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.236, allocations: 97.86 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.236, allocations: 29.7 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2361, allocations: 92.03 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.2361, allocations: 39.45 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.2362, allocations: 0 / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.2363, allocations: 318.8 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.2368, allocations: 211.8 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.2374, allocations: 219.8 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.2386, allocations: 453.4 kB / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2386, allocations: 0 / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001355/0.24, allocations: 0.5139 MB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.24, allocations: 6.188 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.24, allocations: 0 / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.2401, allocations: 4 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.2409, allocations: 123.7 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2409, allocations: 4 kB / 0.9881 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.2415, allocations: 63.88 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.2415, allocations: 24.95 kB / 0.9882 GB, free: 18.09 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.000127/0.2417, allocations: 117.8 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.2418, allocations: 3.906 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2418, allocations: 19.95 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2418, allocations: 3.938 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2418, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2418, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.2437, allocations: 1.098 MB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2437, allocations: 0 / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.2444, allocations: 123.7 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2445, allocations: 0 / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.2445, allocations: 19.94 kB / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2445, allocations: 8 kB / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2445, allocations: 0 / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.2466, allocations: 0.8738 MB / 0.9904 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2468, allocations: 120.8 kB / 0.9905 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.2468, allocations: 8.094 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.2475, allocations: 59.94 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.2476, allocations: 27.92 kB / 0.9906 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.2476, allocations: 23.92 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.2477, allocations: 83.28 kB / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2477, allocations: 0 / 0.9907 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003515/0.248, allocations: 56 kB / 0.9907 GB, free: 15.3 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.002274/0.2503, allocations: 1.423 MB / 0.9921 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2516, allocations: 468.7 kB / 0.9926 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2516, allocations: 4 kB / 0.9926 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.2523, allocations: 251.7 kB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2526, allocations: 8 kB / 0.9928 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/0.2586, allocations: 1.853 MB / 0.9946 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2588, allocations: 0.6965 MB / 0.9953 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006588/0.2595, allocations: 92.66 kB / 0.9954 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.2597, allocations: 67.3 kB / 0.9955 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.2597, allocations: 0 / 0.9955 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.2748, allocations: 4.154 MB / 0.9995 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.275, allocations: 213.2 kB / 0.9997 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.927, allocations: 0 / 0.9997 GB, free: 6.121 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)