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.2115/0.2137, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001871/0.2156, allocations: 0.5852 MB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2178, allocations: 1.413 MB / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.2179, allocations: 0 / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.2179, allocations: 0 / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.2179, allocations: 4 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.2184, allocations: 107.5 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.2185, allocations: 23.98 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.2186, allocations: 7.922 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.2186, allocations: 15.94 kB / 0.6727 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.2187, allocations: 27.89 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2188, allocations: 7.938 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.2191, allocations: 223.6 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2192, allocations: 7.984 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.2192, allocations: 15.92 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2195, allocations: 147.7 kB / 0.6732 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2195, allocations: 0 / 0.6732 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2196, allocations: 0 / 0.6732 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.2196, allocations: 0 / 0.6732 GB, free: 15.43 MB / 0.5137 GB 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.0006041/0.2202, allocations: 359.6 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2202, allocations: 11.97 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.2207, allocations: 76.75 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2208, allocations: 168.3 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.2209, allocations: 4.375 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2209, allocations: 11.94 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2212, allocations: 69.64 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2212, allocations: 3.938 kB / 0.6738 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2212, allocations: 12 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2213, allocations: 0 / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.2216, allocations: 67.91 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.2218, allocations: 173.7 kB / 0.6741 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.2223, allocations: 130.4 kB / 0.6742 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.2226, allocations: 60.81 kB / 0.6743 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2226, allocations: 0 / 0.6743 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2227, allocations: 42.5 kB / 0.6743 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.2227, allocations: 3.938 kB / 0.6743 GB, free: 14.1 MB / 0.5137 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.01034/0.233, allocations: 2.421 MB / 0.6767 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2331, allocations: 55.41 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2333, allocations: 97.84 kB / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.2333, allocations: 29.7 kB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2334, allocations: 84.36 kB / 0.6769 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.2334, allocations: 39.39 kB / 0.677 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.2335, allocations: 33.7 kB / 0.677 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2337, allocations: 326.7 kB / 0.6773 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.2341, allocations: 103.9 kB / 0.6774 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.2346, allocations: 106.4 kB / 0.6775 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.2354, allocations: 212.6 kB / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2354, allocations: 0 / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009928/0.2364, allocations: 261.4 kB / 0.678 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.2365, allocations: 9.875 kB / 0.678 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2365, allocations: 0 / 0.678 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2365, allocations: 4 kB / 0.678 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.2369, allocations: 67.88 kB / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2369, allocations: 0 / 0.678 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2372, allocations: 35.95 kB / 0.6781 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.2372, allocations: 11.98 kB / 0.6781 GB, free: 10.04 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.2374, allocations: 117.8 kB / 0.6782 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.2374, allocations: 7.984 kB / 0.6782 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.107e-05/0.2375, allocations: 15.97 kB / 0.6782 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.2375, allocations: 4 kB / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2375, allocations: 0 / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2375, allocations: 0 / 0.6782 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.2389, allocations: 0.5563 MB / 0.6788 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2389, allocations: 0 / 0.6788 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.2393, allocations: 63.94 kB / 0.6788 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2393, allocations: 0 / 0.6788 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.2394, allocations: 11.98 kB / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2394, allocations: 0 / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2394, allocations: 3.938 kB / 0.6788 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.2409, allocations: 483.1 kB / 0.6793 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.241, allocations: 93.02 kB / 0.6794 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.2411, allocations: 7.938 kB / 0.6794 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2414, allocations: 40.02 kB / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.2414, allocations: 11.92 kB / 0.6794 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.2415, allocations: 12 kB / 0.6795 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.2415, allocations: 75.28 kB / 0.6795 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2415, allocations: 0 / 0.6795 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004602/0.242, allocations: 104.1 kB / 0.6796 GB, free: 8.344 MB / 0.5137 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 (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.0004198/0.2424, allocations: 166.4 kB / 0.6798 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.2434, allocations: 227.7 kB / 0.68 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2434, allocations: 4 kB / 0.68 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.2439, allocations: 119.8 kB / 0.6801 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.2441, allocations: 19.92 kB / 0.6801 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.2464, allocations: 489.8 kB / 0.6806 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2467, allocations: 0.6855 MB / 0.6813 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.247, allocations: 56 kB / 0.6813 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/0.2471, allocations: 23.42 kB / 0.6814 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2471, allocations: 0 / 0.6814 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.005259/0.2523, allocations: 2.281 MB / 0.6836 GB, free: 4.277 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)