Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.00106/0.00106, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.705/1.705, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001442/0.001442, allocations: 73.89 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2261, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001734/0.2279, allocations: 0.6053 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2296, allocations: 1.49 MB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.2296, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.2296, allocations: 3.938 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.2297, allocations: 0 / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.2301, allocations: 146.6 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.2302, allocations: 27.97 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.2302, allocations: 0 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.2303, allocations: 23.91 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.2304, allocations: 23.97 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2304, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2308, allocations: 323.3 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.2308, allocations: 7.922 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2309, allocations: 15.98 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2311, allocations: 187.6 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2311, allocations: 0 / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2311, allocations: 0 / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2312, allocations: 0 / 0.7864 GB, free: 10.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005094/0.2317, allocations: 363.7 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2317, allocations: 12.03 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.2318, allocations: 34.69 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.2322, allocations: 64.84 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2323, allocations: 176.4 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2323, allocations: 384 / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2324, allocations: 4.375 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2326, allocations: 69.77 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2326, allocations: 0 / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2326, allocations: 4 kB / 0.7871 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2326, allocations: 4 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2329, allocations: 63.86 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.2331, allocations: 169.7 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.2337, allocations: 122.5 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.2338, allocations: 44.91 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.2343, allocations: 157 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2343, allocations: 34.5 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2343, allocations: 0 / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001055/0.2354, allocations: 406.2 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2354, allocations: 51.41 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.2355, allocations: 101.8 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2355, allocations: 25.7 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.2355, allocations: 80.14 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2355, allocations: 19.75 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.2356, allocations: 25.61 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.2357, allocations: 314.8 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2358, allocations: 40.03 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.236, allocations: 31.97 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.2363, allocations: 84.98 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2363, allocations: 0 / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003426/0.2366, allocations: 113.6 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2367, allocations: 4 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2367, allocations: 0 / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2367, allocations: 4 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2368, allocations: 32.23 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2369, allocations: 0 / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/0.237, allocations: 15.98 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.237, allocations: 0 / 0.789 GB, free: 7.477 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 (6): * Single equations (assignments): 6 * 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 6.453e-05/0.237, allocations: 109.8 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.2371, allocations: 3.938 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.2375, allocations: 137.1 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2375, allocations: 0 / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2375, allocations: 4 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2375, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2377, allocations: 173.6 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2377, allocations: 3.938 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.2378, allocations: 31.91 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2378, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2379, allocations: 4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2379, allocations: 0 / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2379, allocations: 0 / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.2384, allocations: 201 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.2385, allocations: 85.03 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2385, allocations: 7.969 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2386, allocations: 15.98 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.2387, allocations: 0 / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.2387, allocations: 4 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.479e-05/0.2387, allocations: 79.27 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2387, allocations: 160 / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.2389, allocations: 36 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008352/0.2398, allocations: 0.7451 MB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.2401, allocations: 83.94 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2402, allocations: 0 / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2403, allocations: 47.95 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.2405, allocations: 7.938 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.2423, allocations: 1.368 MB / 0.792 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2425, allocations: 0.6807 MB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.857e-05/0.2426, allocations: 16.06 kB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.2427, allocations: 15.44 kB / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2427, allocations: 0 / 0.7927 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2657, allocations: 2.053 MB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.307, allocations: 8.641 kB / 0.7947 GB, free: 1.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)