Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 101.1 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001942, allocations: 189.4 kB / 17.2 MB, free: 5.953 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.471/1.471, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.854/1.854, allocations: 292.3 MB / 0.5495 GB, free: 17.69 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.002571/0.002571, allocations: 67.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2431, allocations: 114.6 MB / 0.784 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002251/0.2455, allocations: 0.7818 MB / 0.7848 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2475, allocations: 1.521 MB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.2476, allocations: 0 / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.2476, allocations: 3.938 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.2477, allocations: 3.938 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.2482, allocations: 143.4 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.2483, allocations: 47.91 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.2483, allocations: 7.938 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.2484, allocations: 27.91 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2485, allocations: 31.89 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.2485, allocations: 8 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.249, allocations: 319.3 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.249, allocations: 15.94 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.2491, allocations: 27.86 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.2494, allocations: 211.8 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2494, allocations: 0 / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2494, allocations: 0 / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2494, allocations: 0 / 0.7871 GB, free: 0.6797 MB / 0.6544 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.0006487/0.25, allocations: 399.3 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2501, allocations: 15.97 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.2505, allocations: 72.75 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3118/0.5623, allocations: 165.5 kB / 0.7877 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.5624, allocations: 7.531 kB / 0.7877 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.5625, allocations: 3.938 kB / 0.7877 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.5629, allocations: 113.2 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5629, allocations: 0 / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5629, allocations: 2.781 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.563, allocations: 2.562 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.5634, allocations: 108.3 kB / 0.788 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.564, allocations: 329.3 kB / 0.7883 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.5646, allocations: 160.5 kB / 0.7884 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.5648, allocations: 60.55 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.5648, allocations: 3.859 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5649, allocations: 34.34 kB / 0.7885 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5649, allocations: 0 / 0.7885 GB, free: 49.01 MB / 0.6544 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.01718/0.5821, allocations: 2.83 MB / 0.7913 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5821, allocations: 56.62 kB / 0.7913 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.5822, allocations: 100.1 kB / 0.7914 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5822, allocations: 27.83 kB / 0.7915 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.5823, allocations: 91.02 kB / 0.7915 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.5824, allocations: 39.89 kB / 0.7916 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5825, allocations: 75.39 kB / 0.7916 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.5826, allocations: 321.2 kB / 0.792 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.5832, allocations: 189.5 kB / 0.7921 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.5838, allocations: 193.3 kB / 0.7923 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.5851, allocations: 394.4 kB / 0.7927 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.5851, allocations: 3.375 kB / 0.7927 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001447/0.5865, allocations: 475.2 kB / 0.7932 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5866, allocations: 7.906 kB / 0.7932 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5866, allocations: 4 kB / 0.7932 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5866, allocations: 0 / 0.7932 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.5874, allocations: 107.1 kB / 0.7933 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5874, allocations: 0 / 0.7933 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.588, allocations: 49.19 kB / 0.7933 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.5881, allocations: 26.64 kB / 0.7933 GB, free: 47.81 MB / 0.6544 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.0001526/0.5883, allocations: 121.8 kB / 0.7935 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.5884, allocations: 7.859 kB / 0.7935 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.5884, allocations: 10.7 kB / 0.7935 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5884, allocations: 3.312 kB / 0.7935 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5884, allocations: 0 / 0.7935 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5884, allocations: 0.5156 kB / 0.7935 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.5905, allocations: 1.054 MB / 0.7945 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5905, allocations: 0.6562 kB / 0.7945 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.5913, allocations: 107.5 kB / 0.7946 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5913, allocations: 4.906 kB / 0.7946 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.5914, allocations: 25.91 kB / 0.7946 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.5914, allocations: 0 / 0.7946 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5914, allocations: 3.938 kB / 0.7946 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5936, allocations: 0.793 MB / 0.7954 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.5938, allocations: 113.3 kB / 0.7955 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.5938, allocations: 0.5625 kB / 0.7955 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.5945, allocations: 51.64 kB / 0.7956 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5946, allocations: 29.62 kB / 0.7956 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.5947, allocations: 27.95 kB / 0.7956 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.5947, allocations: 80 kB / 0.7957 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.032e-06/0.5948, allocations: 0 / 0.7957 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004063/0.5952, allocations: 59.91 kB / 0.7958 GB, free: 46.8 MB / 0.6544 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.0001881/0.5954, allocations: 110.9 kB / 0.7959 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.5969, allocations: 433.3 kB / 0.7963 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5969, allocations: 3.375 kB / 0.7963 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.5977, allocations: 221.2 kB / 0.7965 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.5981, allocations: 12.23 kB / 0.7965 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.6024, allocations: 0.778 MB / 0.7973 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.6026, allocations: 0.6918 MB / 0.7979 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.603, allocations: 81.61 kB / 0.798 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.603, allocations: 0 / 0.798 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.007471/0.6105, allocations: 3.773 MB / 0.8017 GB, free: 45.62 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)