Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.879/1.879, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007382/0.0007383, allocations: 101.8 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 16 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7973, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.9761, allocations: 142 MB / 1.165 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.9764, allocations: 83.78 kB / 1.165 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.9886, allocations: 4.139 MB / 1.169 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9886, allocations: 0 / 1.169 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9886, allocations: 0 / 1.169 GB, free: 14.7 MB / 0.7448 GB 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.000434/0.989, allocations: 370.1 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9891, allocations: 12.03 kB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.9895, allocations: 65.7 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9896, allocations: 163.3 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.9896, allocations: 4.375 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.9896, allocations: 8.797 kB / 1.17 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.9899, allocations: 80.77 kB / 1.17 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.9899, allocations: 192 / 1.17 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9899, allocations: 13.16 kB / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9899, allocations: 0 / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.9902, allocations: 74.47 kB / 1.17 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.9904, allocations: 164.5 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.9909, allocations: 141.5 kB / 1.17 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.9911, allocations: 50.19 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.9912, allocations: 4.797 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.9912, allocations: 44.11 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9912, allocations: 0 / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001056/0.9922, allocations: 439.9 kB / 1.171 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.9923, allocations: 51.41 kB / 1.171 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.9924, allocations: 99.08 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.9924, allocations: 26.31 kB / 1.171 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.9924, allocations: 81.17 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.9925, allocations: 21.67 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.9925, allocations: 0 / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.9926, allocations: 315.5 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.9927, allocations: 41.69 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.9929, allocations: 49.03 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.9932, allocations: 92.86 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.9932, allocations: 0 / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000337/0.9935, allocations: 124.8 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9936, allocations: 11.94 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.9936, allocations: 0.6562 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9936, allocations: 1.781 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.9937, allocations: 29.95 kB / 1.172 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.9937, allocations: 1.547 kB / 1.172 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.9938, allocations: 17.95 kB / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.9939, allocations: 0.6094 kB / 1.172 GB, free: 12.12 MB / 0.7448 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 (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 prepare postOptimizeDAE: time 8.344e-05/0.9939, allocations: 119.5 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.994, allocations: 7.844 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.9944, allocations: 149.9 kB / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.9944, allocations: 0.7031 kB / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9944, allocations: 0 / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.9945, allocations: 0.7031 kB / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.9946, allocations: 168.3 kB / 1.172 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9946, allocations: 1.875 kB / 1.172 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.9948, allocations: 34.05 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.9948, allocations: 3.938 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.9948, allocations: 1.219 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9948, allocations: 0.5625 kB / 1.172 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9948, allocations: 4 kB / 1.172 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.9954, allocations: 203.8 kB / 1.172 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.9955, allocations: 84.81 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.9955, allocations: 4.5 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.9956, allocations: 18.47 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.9956, allocations: 10.2 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.9956, allocations: 2.25 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.9957, allocations: 80.03 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9957, allocations: 0 / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002585/0.996, allocations: 46.19 kB / 1.172 GB, free: 11.2 MB / 0.7448 GB 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.0002253/0.9962, allocations: 135.4 kB / 1.173 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.9965, allocations: 103.1 kB / 1.173 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.9965, allocations: 4 kB / 1.173 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.9967, allocations: 46.03 kB / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.9969, allocations: 4 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.9975, allocations: 203.3 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.9978, allocations: 0.6804 MB / 1.174 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.9979, allocations: 19.8 kB / 1.174 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.9979, allocations: 12.84 kB / 1.174 GB, free: 10 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9979, allocations: 4 kB / 1.174 GB, free: 10 MB / 0.7448 GB Notification: Performance of Templates: time 0.003335/1.001, allocations: 1.1 MB / 1.175 GB, free: 9.402 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)