Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_10_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.001266/0.001266, allocations: 105.8 kB / 16.27 MB, free: 5.984 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.001289/0.001289, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.1 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.22 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2996, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001732/0.3014, allocations: 0.6018 MB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3032, allocations: 1.452 MB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.3033, allocations: 3.938 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.3033, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.3e-05/0.3033, allocations: 3.938 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.3038, allocations: 139.4 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.3039, allocations: 27.97 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.3039, allocations: 4 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.304, allocations: 11.98 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.304, allocations: 31.89 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3041, allocations: 0 / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.3045, allocations: 323.3 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.3045, allocations: 3.984 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.3046, allocations: 19.91 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3049, allocations: 183.7 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3049, allocations: 4 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3049, allocations: 0 / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3049, allocations: 0 / 1.021 GB, free: 7.852 MB / 0.795 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.0005365/0.3055, allocations: 363.7 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3055, allocations: 12.92 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.306, allocations: 64.84 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3061, allocations: 168.3 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3061, allocations: 8.375 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3061, allocations: 4.281 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.3064, allocations: 77.95 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3064, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3065, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3065, allocations: 4 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.3068, allocations: 63.92 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.307, allocations: 165.7 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.3076, allocations: 122.5 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3077, allocations: 44.91 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/0.3082, allocations: 153 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3083, allocations: 42.5 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.3083, allocations: 3.984 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.3094, allocations: 402.2 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3095, allocations: 51.41 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.3095, allocations: 101.8 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3096, allocations: 25.7 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.3096, allocations: 84.27 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3097, allocations: 19.75 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3097, allocations: 21.7 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3098, allocations: 314.8 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.31, allocations: 35.97 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3102, allocations: 39.95 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.3105, allocations: 76.75 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3105, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003776/0.3109, allocations: 117.6 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3109, allocations: 4 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3109, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3109, allocations: 3.938 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3111, allocations: 23.97 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3111, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.3112, allocations: 19.92 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3112, allocations: 4 kB / 1.023 GB, free: 4.977 MB / 0.795 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 8.591e-05/0.3113, allocations: 113.8 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.3114, allocations: 11.84 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.3118, allocations: 133.2 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3118, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3119, allocations: 320 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3119, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.312, allocations: 169.7 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.312, allocations: 4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3122, allocations: 27.91 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3122, allocations: 4 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3122, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3122, allocations: 7.938 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3122, allocations: 0 / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.3128, allocations: 181 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.3129, allocations: 89.06 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3129, allocations: 0 / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3131, allocations: 16.05 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.3131, allocations: 8 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3131, allocations: 0 / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.3132, allocations: 83.27 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00023/0.3134, allocations: 28 kB / 1.024 GB, free: 4.016 MB / 0.795 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.0002064/0.3136, allocations: 135.3 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.314, allocations: 83.86 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.314, allocations: 4 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.3142, allocations: 47.89 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3144, allocations: 8 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.315, allocations: 211 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3153, allocations: 0.6768 MB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3154, allocations: 23.42 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3154, allocations: 0 / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of Templates: time 0.002676/0.3181, allocations: 1.128 MB / 1.026 GB, free: 1.645 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)