Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 106 kB / 16.37 MB, free: 6.48 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.001133/0.001133, allocations: 192.4 kB / 17.31 MB, free: 5.82 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001439/0.00144, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001878/0.2253, allocations: 0.6015 MB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.2271, allocations: 1.486 MB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2271, allocations: 0 / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.2272, allocations: 3.938 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.305e-05/0.2272, allocations: 0 / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2277, allocations: 143.4 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.2277, allocations: 27.97 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.2278, allocations: 4 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.2278, allocations: 15.92 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.2279, allocations: 27.95 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.2279, allocations: 0 / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.2284, allocations: 319.4 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2284, allocations: 11.92 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2284, allocations: 15.97 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.2287, allocations: 191.6 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2287, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2287, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2287, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 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.3703/0.599, allocations: 358.5 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5991, allocations: 10.12 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/0.5996, allocations: 72.23 kB / 0.788 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.5997, allocations: 164.4 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.5997, allocations: 3.938 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.5998, allocations: 0.9375 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.6, allocations: 75.69 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6001, allocations: 3.422 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.6001, allocations: 7.344 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6001, allocations: 0 / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.6004, allocations: 66.33 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.6006, allocations: 163.9 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.6012, allocations: 122.2 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.6014, allocations: 47.47 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.6018, allocations: 148 kB / 0.7888 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.6018, allocations: 37.64 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6018, allocations: 1.531 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.00105/0.6029, allocations: 404.9 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.6029, allocations: 56.16 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.603, allocations: 95.33 kB / 0.7893 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.603, allocations: 26.77 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.603, allocations: 83.58 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.6031, allocations: 21.52 kB / 0.7895 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.6031, allocations: 23.58 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.6032, allocations: 317.4 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6033, allocations: 39.09 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.6035, allocations: 36.47 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.6037, allocations: 81.23 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6037, allocations: 2.344 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003144/0.6041, allocations: 109.2 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6041, allocations: 9.188 kB / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6041, allocations: 0 / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6041, allocations: 0 / 0.79 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6043, allocations: 26.97 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6043, allocations: 5.766 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.6044, allocations: 15.64 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.6044, allocations: 0.875 kB / 0.7901 GB, free: 47.39 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 (6): * Single equations (assignments): 6 * 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 5.8e-05/0.6045, allocations: 115.8 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.6045, allocations: 6.562 kB / 0.7902 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.6049, allocations: 134.9 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6049, allocations: 3.469 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6049, allocations: 0 / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.605, allocations: 0 / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.6051, allocations: 162.2 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6051, allocations: 0 / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.6052, allocations: 27.19 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.6052, allocations: 9.047 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6052, allocations: 7.5 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6053, allocations: 0.7656 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6053, allocations: 0 / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.6058, allocations: 187.3 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.6058, allocations: 84.94 kB / 0.7908 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.6059, allocations: 6.562 kB / 0.7908 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.606, allocations: 16.33 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.606, allocations: 4.484 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.606, allocations: 13.58 kB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.606, allocations: 75.28 kB / 0.7909 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6061, allocations: 0 / 0.7909 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002341/0.6063, allocations: 31.2 kB / 0.7909 GB, free: 46.79 MB / 0.6544 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 (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.0001965/0.6065, allocations: 136.5 kB / 0.7911 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.6069, allocations: 82.45 kB / 0.7911 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6069, allocations: 4 kB / 0.7911 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.607, allocations: 45.14 kB / 0.7912 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.0001493/0.6072, allocations: 5.469 kB / 0.7912 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.6078, allocations: 200.3 kB / 0.7914 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.6079, allocations: 0.6775 MB / 0.792 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.608, allocations: 12.69 kB / 0.7921 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.608, allocations: 0 / 0.7921 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.00256/0.6105, allocations: 1.134 MB / 0.7932 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)