Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [/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.2292/0.2301, allocations: 82.22 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009378/0.2311, allocations: 308.8 kB / 0.5938 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2332, allocations: 1.359 MB / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.2333, allocations: 0 / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.2333, allocations: 0 / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.2333, allocations: 0 / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.2338, allocations: 79.7 kB / 0.5952 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.2338, allocations: 23.97 kB / 0.5952 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.2339, allocations: 8 kB / 0.5952 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.2339, allocations: 11.94 kB / 0.5952 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.234, allocations: 23.95 kB / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2341, allocations: 3.938 kB / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.2344, allocations: 215.6 kB / 0.5955 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.2345, allocations: 7.984 kB / 0.5955 GB, free: 3.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.2345, allocations: 33.7 kB / 0.5955 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.2347, allocations: 104.1 kB / 0.5956 GB, free: 3.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2347, allocations: 3.938 kB / 0.5956 GB, free: 3.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2347, allocations: 0 / 0.5956 GB, free: 3.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.2348, allocations: 4 kB / 0.5956 GB, free: 3.777 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005423/0.2353, allocations: 355.3 kB / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2354, allocations: 8.031 kB / 0.5959 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004413/0.2358, allocations: 79.91 kB / 0.596 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.236, allocations: 167 kB / 0.5962 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.236, allocations: 8 kB / 0.5962 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.2361, allocations: 3.953 kB / 0.5962 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2364, allocations: 85.62 kB / 0.5963 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2364, allocations: 0 / 0.5963 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2364, allocations: 8 kB / 0.5963 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2364, allocations: 0 / 0.5963 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.2367, allocations: 83.92 kB / 0.5964 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.237, allocations: 177.5 kB / 0.5965 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.2374, allocations: 154.4 kB / 0.5967 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2376, allocations: 60.78 kB / 0.5967 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2376, allocations: 240 / 0.5967 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.2377, allocations: 46.53 kB / 0.5968 GB, free: 2.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2377, allocations: 0 / 0.5968 GB, free: 2.402 MB / 446.1 MB 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.00942/0.2471, allocations: 2.739 MB / 0.5995 GB, free: 15.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2472, allocations: 51.41 kB / 0.5995 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2474, allocations: 97.84 kB / 0.5996 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2474, allocations: 29.7 kB / 0.5996 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.2475, allocations: 84.27 kB / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.2475, allocations: 35.45 kB / 0.5997 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.2476, allocations: 0 / 0.5997 GB, free: 15.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.2477, allocations: 318.8 kB / 0.6 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2482, allocations: 127.9 kB / 0.6002 GB, free: 14.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2485, allocations: 119.9 kB / 0.6003 GB, free: 14.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.2489, allocations: 127 kB / 0.6004 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2489, allocations: 3.953 kB / 0.6004 GB, free: 14.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008781/0.2498, allocations: 313.3 kB / 0.6007 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2499, allocations: 4 kB / 0.6007 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2499, allocations: 0 / 0.6007 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2499, allocations: 0 / 0.6007 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.2503, allocations: 79.94 kB / 0.6008 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2503, allocations: 0 / 0.6008 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2506, allocations: 47.95 kB / 0.6008 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.2506, allocations: 11.98 kB / 0.6008 GB, free: 14.08 MB / 462.1 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 (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.0001146/0.2507, allocations: 122.6 kB / 0.601 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.2507, allocations: 11.95 kB / 0.601 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.2508, allocations: 15.91 kB / 0.601 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2508, allocations: 11.97 kB / 0.601 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2508, allocations: 0 / 0.601 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2508, allocations: 0 / 0.601 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2521, allocations: 0.5801 MB / 0.6016 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2521, allocations: 4 kB / 0.6016 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.2525, allocations: 79.86 kB / 0.6016 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.2525, allocations: 4 kB / 0.6016 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2525, allocations: 11.98 kB / 0.6017 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2525, allocations: 0 / 0.6017 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2526, allocations: 0 / 0.6017 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.2539, allocations: 0.5265 MB / 0.6022 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.254, allocations: 93.02 kB / 0.6023 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2541, allocations: 4 kB / 0.6023 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.2544, allocations: 48.02 kB / 0.6023 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.2544, allocations: 16.08 kB / 0.6023 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.2545, allocations: 15.92 kB / 0.6023 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.2545, allocations: 79.28 kB / 0.6024 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2545, allocations: 0 / 0.6024 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.255, allocations: 95.98 kB / 0.6025 GB, free: 12.27 MB / 462.1 MB 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.0005493/0.2556, allocations: 167.1 kB / 0.6027 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.2565, allocations: 275.8 kB / 0.6029 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2565, allocations: 0 / 0.6029 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.257, allocations: 146.9 kB / 0.6031 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2572, allocations: 13.27 kB / 0.6031 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.2594, allocations: 0.5612 MB / 0.6036 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2597, allocations: 0.6848 MB / 0.6043 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00033/0.2601, allocations: 59.94 kB / 0.6044 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.2602, allocations: 23.42 kB / 0.6044 GB, free: 10.29 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2602, allocations: 0 / 0.6044 GB, free: 10.29 MB / 462.1 MB Notification: Performance of Templates: time 0.006604/0.2668, allocations: 2.213 MB / 0.6065 GB, free: 8.188 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: