Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9068/0.9068, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001094/0.001094, allocations: 184 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.844/1.844, allocations: 170.7 MB / 383.7 MB, free: 16.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001689/0.001689, allocations: 122.7 kB / 454.6 MB, free: 9.711 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1951/0.1956, allocations: 73.42 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5363/0.732, allocations: 102.1 MB / 0.7809 GB, free: 24.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.7323, allocations: 77.8 kB / 0.781 GB, free: 24.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01118/0.7435, allocations: 3.564 MB / 0.7845 GB, free: 22.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7436, allocations: 4 kB / 0.7845 GB, free: 22.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.7437, allocations: 0 / 0.7845 GB, free: 22.1 MB / 490.7 MB 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.0005453/0.7442, allocations: 358.6 kB / 0.7848 GB, free: 21.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.7443, allocations: 12.03 kB / 0.7848 GB, free: 21.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.7448, allocations: 63.91 kB / 0.7849 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.745, allocations: 168.3 kB / 0.785 GB, free: 21.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.745, allocations: 0.8906 kB / 0.785 GB, free: 21.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.745, allocations: 7.625 kB / 0.785 GB, free: 21.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.7454, allocations: 75.86 kB / 0.7851 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7454, allocations: 0 / 0.7851 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.7454, allocations: 0 / 0.7851 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.7454, allocations: 0 / 0.7851 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.7457, allocations: 84.59 kB / 0.7852 GB, free: 21.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.746, allocations: 165.9 kB / 0.7854 GB, free: 21.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.7466, allocations: 136.4 kB / 0.7855 GB, free: 21.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.7466, allocations: 0 / 0.7855 GB, free: 21.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.7466, allocations: 35.64 kB / 0.7855 GB, free: 20.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7467, allocations: 0 / 0.7855 GB, free: 20.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.00355/0.7502, allocations: 0.982 MB / 0.7865 GB, free: 20.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.7503, allocations: 60.38 kB / 0.7865 GB, free: 20.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.7503, allocations: 86.12 kB / 0.7866 GB, free: 19.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.7504, allocations: 25.7 kB / 0.7866 GB, free: 19.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.7504, allocations: 84.97 kB / 0.7867 GB, free: 19.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.7505, allocations: 28.58 kB / 0.7868 GB, free: 19.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.7505, allocations: 0 / 0.7868 GB, free: 19.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.7506, allocations: 319.3 kB / 0.7871 GB, free: 19.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.7508, allocations: 74.92 kB / 0.7871 GB, free: 19.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.7511, allocations: 76.64 kB / 0.7872 GB, free: 19.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.7513, allocations: 75.09 kB / 0.7873 GB, free: 19.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.7514, allocations: 0 / 0.7873 GB, free: 19.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005731/0.7519, allocations: 194 kB / 0.7875 GB, free: 19.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.752, allocations: 8 kB / 0.7875 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.752, allocations: 0.7031 kB / 0.7875 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.752, allocations: 3.953 kB / 0.7875 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.7522, allocations: 50.53 kB / 0.7875 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7523, allocations: 5.312 kB / 0.7875 GB, free: 19.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.7524, allocations: 35.77 kB / 0.7876 GB, free: 19.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.7524, allocations: 5.172 kB / 0.7876 GB, free: 19.15 MB / 490.7 MB 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 (7): * Single equations (assignments): 7 * 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 8.003e-05/0.7525, allocations: 110.4 kB / 0.7877 GB, free: 19.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.7526, allocations: 4.656 kB / 0.7877 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.7526, allocations: 7.875 kB / 0.7877 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7526, allocations: 0 / 0.7877 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7526, allocations: 3.953 kB / 0.7877 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.7527, allocations: 8.438 kB / 0.7877 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.7528, allocations: 174.6 kB / 0.7879 GB, free: 18.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7528, allocations: 0 / 0.7879 GB, free: 18.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.753, allocations: 47.33 kB / 0.7879 GB, free: 18.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7531, allocations: 4 kB / 0.7879 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7531, allocations: 1.312 kB / 0.7879 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7531, allocations: 4 kB / 0.7879 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7531, allocations: 7.938 kB / 0.7879 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.754, allocations: 308.7 kB / 0.7882 GB, free: 18.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.7541, allocations: 86.06 kB / 0.7883 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.7541, allocations: 0.7969 kB / 0.7883 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7543, allocations: 27.64 kB / 0.7883 GB, free: 18.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.7543, allocations: 13.84 kB / 0.7883 GB, free: 18.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.7544, allocations: 9.547 kB / 0.7883 GB, free: 18.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.885e-05/0.7544, allocations: 75.84 kB / 0.7884 GB, free: 18.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7544, allocations: 0 / 0.7884 GB, free: 18.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.7547, allocations: 53.14 kB / 0.7885 GB, free: 18.28 MB / 490.7 MB 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 (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.0002791/0.755, allocations: 135.7 kB / 0.7886 GB, free: 18.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006016/0.7556, allocations: 171.7 kB / 0.7888 GB, free: 18.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.7556, allocations: 0 / 0.7888 GB, free: 18.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.7559, allocations: 85.59 kB / 0.7888 GB, free: 17.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.756, allocations: 3.938 kB / 0.7888 GB, free: 17.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.7571, allocations: 297.1 kB / 0.7891 GB, free: 17.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.7573, allocations: 0.6819 MB / 0.7898 GB, free: 17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.7575, allocations: 29.73 kB / 0.7898 GB, free: 16.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.7575, allocations: 13.22 kB / 0.7898 GB, free: 16.97 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.7575, allocations: 0 / 0.7898 GB, free: 16.97 MB / 490.7 MB Notification: Performance of Templates: time 0.003864/0.7614, allocations: 1.059 MB / 0.7909 GB, free: 16.39 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)