Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.01/5.01, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002602/0.002602, allocations: 351.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.526/4.526, allocations: 410.7 MB / 1.113 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001894/0.001894, allocations: 178.5 kB / 1.226 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007055/0.0007058, allocations: 12 kB / 1.349 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7511, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.9871, allocations: 139.4 MB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.9876, allocations: 88.91 kB / 1.598 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0346/1.022, allocations: 5.471 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.425e-06/1.022, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.022, allocations: 5.062 kB / 1.603 GB, free: 139.4 MB / 0.8542 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.0007964/1.023, allocations: 404 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.023, allocations: 12.56 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/1.024, allocations: 68.27 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.024, allocations: 170.9 kB / 1.604 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/1.024, allocations: 4.594 kB / 1.604 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.024, allocations: 8.812 kB / 1.604 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/1.025, allocations: 121.6 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.025, allocations: 4 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/1.025, allocations: 4 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.025, allocations: 0 / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.026, allocations: 127.5 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/1.027, allocations: 339.7 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.029, allocations: 183.9 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/1.03, allocations: 71.88 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/1.03, allocations: 1.438 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.03, allocations: 30.56 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.336e-06/1.03, allocations: 0.5938 kB / 1.604 GB, free: 137.8 MB / 0.8542 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.04293/1.073, allocations: 3.191 MB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.073, allocations: 51.41 kB / 1.608 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/1.073, allocations: 103 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/1.073, allocations: 30.33 kB / 1.608 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/1.073, allocations: 88.73 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/1.073, allocations: 35.45 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/1.073, allocations: 0.9688 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/1.073, allocations: 322.8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/1.075, allocations: 216.4 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.076, allocations: 215 kB / 1.609 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/1.077, allocations: 224 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.077, allocations: 0 / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002866/1.08, allocations: 0.5198 MB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.08, allocations: 11.95 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.08, allocations: 96 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.08, allocations: 3.938 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.082, allocations: 120.6 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.082, allocations: 0 / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.083, allocations: 63.94 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/1.083, allocations: 23.94 kB / 1.609 GB, free: 132.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/1.083, allocations: 118.4 kB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.084, allocations: 4 kB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/1.084, allocations: 15.91 kB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.084, allocations: 4 kB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.084, allocations: 2.656 kB / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.084, allocations: 0 / 1.61 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/1.087, allocations: 1.102 MB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.087, allocations: 0 / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.089, allocations: 127.8 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/1.089, allocations: 4 kB / 1.611 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/1.089, allocations: 19.94 kB / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.089, allocations: 0 / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.089, allocations: 0 / 1.611 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/1.094, allocations: 0.8677 MB / 1.612 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/1.094, allocations: 120.9 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.094, allocations: 3.938 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.095, allocations: 60 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.096, allocations: 33.84 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.096, allocations: 27.92 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.236e-05/1.096, allocations: 79.28 kB / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/1.096, allocations: 0 / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005516/1.096, allocations: 59.94 kB / 1.612 GB, free: 129.9 MB / 0.8542 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 (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.0002767/1.097, allocations: 115.2 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002642/1.099, allocations: 479.4 kB / 1.613 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.099, allocations: 0 / 1.613 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/1.101, allocations: 243.7 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/1.101, allocations: 8 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/1.109, allocations: 0.8695 MB / 1.614 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/1.11, allocations: 0.7004 MB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001174/1.111, allocations: 96.61 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004703/1.111, allocations: 59.3 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/1.111, allocations: 0 / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.008214/1.12, allocations: 3.249 MB / 1.618 GB, free: 124 MB / 0.8542 GB