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.001554/0.001562, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002159/0.002159, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.898/1.898, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000515/0.000515, allocations: 22.03 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2892, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008014/0.29, allocations: 325.9 kB / 0.7874 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2919, allocations: 1.432 MB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.292, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.292, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.2921, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.2925, allocations: 104.9 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.2926, allocations: 31.89 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.2927, allocations: 0 / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.2927, allocations: 19.92 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/0.2928, allocations: 19.97 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2928, allocations: 8 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.2933, allocations: 311.4 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.2933, allocations: 15.97 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.2933, allocations: 25.7 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2936, allocations: 131.9 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2936, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2936, allocations: 3.984 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.2936, allocations: 0 / 0.7895 GB, free: 9.535 MB / 0.6075 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.0005273/0.2941, allocations: 355.6 kB / 0.7898 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2942, allocations: 16.03 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.2947, allocations: 79.81 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2948, allocations: 174.9 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.2948, allocations: 0 / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.2949, allocations: 0 / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.2951, allocations: 89.61 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2952, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2952, allocations: 4 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2952, allocations: 0 / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2955, allocations: 75.94 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.2957, allocations: 169.6 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.2963, allocations: 142.5 kB / 0.7905 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.2968, allocations: 169.1 kB / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.2968, allocations: 38.56 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2968, allocations: 0 / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00124/0.2981, allocations: 442.2 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2981, allocations: 51.41 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.2982, allocations: 97.84 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2983, allocations: 25.7 kB / 0.7913 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.2983, allocations: 84.27 kB / 0.7914 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2984, allocations: 23.73 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.2984, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2985, allocations: 322.8 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2987, allocations: 39.97 kB / 0.7918 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2988, allocations: 43.97 kB / 0.7918 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.299, allocations: 39.97 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.299, allocations: 0 / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003522/0.2994, allocations: 129.5 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2994, allocations: 8 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2994, allocations: 3.938 kB / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2994, allocations: 0 / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2996, allocations: 31.98 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2996, allocations: 3.984 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2997, allocations: 11.98 kB / 0.792 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2997, allocations: 4 kB / 0.792 GB, free: 6.637 MB / 0.6075 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 0.0001098/0.2998, allocations: 113.8 kB / 0.7921 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2998, allocations: 7.938 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.3003, allocations: 153.1 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3003, allocations: 0 / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3003, allocations: 0 / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3004, allocations: 0 / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3005, allocations: 169.6 kB / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3005, allocations: 0 / 0.7925 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3007, allocations: 23.98 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3007, allocations: 4 kB / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3007, allocations: 7.984 kB / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3007, allocations: 320 / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3007, allocations: 0 / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.3013, allocations: 208.9 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.3014, allocations: 89.03 kB / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3014, allocations: 4 kB / 0.7928 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3015, allocations: 15.98 kB / 0.7928 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.3016, allocations: 12.05 kB / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3016, allocations: 0 / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.3016, allocations: 79.28 kB / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3016, allocations: 0 / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002228/0.3018, allocations: 35.98 kB / 0.7929 GB, free: 5.625 MB / 0.6075 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.0002198/0.3021, allocations: 123.5 kB / 0.793 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.3025, allocations: 104 kB / 0.7931 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3025, allocations: 0 / 0.7931 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3027, allocations: 43.97 kB / 0.7932 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.3028, allocations: 8 kB / 0.7932 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.3034, allocations: 212.7 kB / 0.7934 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3037, allocations: 0.6809 MB / 0.7941 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000112/0.3038, allocations: 23.92 kB / 0.7941 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3039, allocations: 11.44 kB / 0.7941 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3039, allocations: 4 kB / 0.7941 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.003503/0.3074, allocations: 1.086 MB / 0.7952 GB, free: 3.281 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: