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.001781/0.001787, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.002074/0.002074, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 13.75 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.545/2.545, allocations: 437.1 MB / 0.7107 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.42 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001952/0.2901, allocations: 0.6744 MB / 1.018 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2921, allocations: 1.432 MB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.2922, allocations: 7.938 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2922, allocations: 3.938 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.453e-05/0.2923, allocations: 0 / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.2928, allocations: 124.4 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.2929, allocations: 27.97 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.2929, allocations: 4 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.2929, allocations: 11.98 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.293, allocations: 27.89 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.293, allocations: 4 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.2935, allocations: 319.4 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.2936, allocations: 15.97 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.2936, allocations: 7.922 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2938, allocations: 127.9 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2938, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2939, allocations: 0 / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.2939, allocations: 0 / 1.02 GB, free: 8.203 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.0005676/0.2944, allocations: 367.8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2945, allocations: 12.62 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/0.295, allocations: 68.84 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2951, allocations: 164.3 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2952, allocations: 8.312 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.2952, allocations: 4.281 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2955, allocations: 81.92 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2955, allocations: 0 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2955, allocations: 4 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2955, allocations: 0 / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.2958, allocations: 63.92 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.2961, allocations: 169.7 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.2967, allocations: 122.5 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2969, allocations: 44.92 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/0.2973, allocations: 157 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.2974, allocations: 42.44 kB / 1.021 GB, free: 6.742 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2974, allocations: 0 / 1.021 GB, free: 6.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.001169/0.2985, allocations: 402.2 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2986, allocations: 55.41 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.2987, allocations: 93.86 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2987, allocations: 29.7 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.2988, allocations: 80.14 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.2988, allocations: 15.73 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.2989, allocations: 21.72 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.299, allocations: 322.8 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2992, allocations: 32.09 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2993, allocations: 36.16 kB / 1.022 GB, free: 5.578 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.2996, allocations: 88.73 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2996, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003493/0.3, allocations: 113.6 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3, allocations: 4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3001, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3002, allocations: 31.97 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3002, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.3003, allocations: 11.98 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3003, allocations: 4 kB / 1.023 GB, free: 5.32 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 9.038e-05/0.3004, allocations: 111 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.3005, allocations: 11.84 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.3009, allocations: 137.2 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.301, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.301, allocations: 0 / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.301, allocations: 3.938 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3011, allocations: 165.7 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3012, allocations: 4 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3013, allocations: 23.92 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3013, allocations: 3.984 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3013, allocations: 4 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3014, allocations: 3.938 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3014, allocations: 7.938 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.3019, allocations: 181.2 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.302, allocations: 89.39 kB / 1.023 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3021, allocations: 4 kB / 1.023 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3022, allocations: 11.98 kB / 1.023 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.3022, allocations: 7.984 kB / 1.023 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3022, allocations: 0 / 1.023 GB, free: 4.465 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.3023, allocations: 83.34 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3023, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002368/0.3025, allocations: 35.98 kB / 1.024 GB, free: 4.348 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.0002271/0.3028, allocations: 127.2 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.3032, allocations: 91.95 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3032, allocations: 0 / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3033, allocations: 43.91 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.3035, allocations: 8 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.3042, allocations: 223.3 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.3045, allocations: 0.6768 MB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.3046, allocations: 15.44 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3046, allocations: 4 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of Templates: time 0.00296/0.3075, allocations: 1.128 MB / 1.026 GB, free: 1.98 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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)