Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 104.2 kB / 15.99 MB, free: 6.359 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.001811/0.001811, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.532/2.532, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.88 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2874, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002074/0.2895, allocations: 0.8492 MB / 1.018 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2914, allocations: 1.471 MB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.2914, allocations: 4 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.2915, allocations: 0 / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.2915, allocations: 3.938 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.292, allocations: 119.7 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.2921, allocations: 51.84 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2921, allocations: 11.97 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.2922, allocations: 35.91 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.2923, allocations: 23.91 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2923, allocations: 4 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.2927, allocations: 323.3 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.2928, allocations: 19.92 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.2928, allocations: 27.84 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.293, allocations: 135.8 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2931, allocations: 4 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.416e-06/0.2931, allocations: 0 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2931, allocations: 3.938 kB / 1.02 GB, free: 7.918 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006763/0.2938, allocations: 403.7 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2938, allocations: 12.92 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.2943, allocations: 68.84 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2944, allocations: 172.2 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.2944, allocations: 8.375 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2945, allocations: 4.375 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.2949, allocations: 117.9 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2949, allocations: 4 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2949, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2949, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.2954, allocations: 109.8 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.296, allocations: 328.7 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.2967, allocations: 162.4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2969, allocations: 56.75 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.297, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.297, allocations: 38.56 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.297, allocations: 0 / 1.022 GB, free: 6.305 MB / 0.795 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.0193/0.3163, allocations: 2.826 MB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3164, allocations: 59.34 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.3165, allocations: 105.8 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.3165, allocations: 25.7 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3166, allocations: 91.98 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.3167, allocations: 39.45 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3169, allocations: 69.58 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.317, allocations: 322.8 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/0.3177, allocations: 187.9 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.3184, allocations: 199.7 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3198, allocations: 397.5 kB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3198, allocations: 4 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001614/0.3214, allocations: 473.7 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3215, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3215, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3215, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.3224, allocations: 111.7 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3224, allocations: 3.938 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.3231, allocations: 47.94 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.3232, allocations: 27.92 kB / 1.027 GB, free: 1.203 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 (13): * Single equations (assignments): 13 * 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 0.0001793/0.3233, allocations: 113.8 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.3234, allocations: 7.906 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.3235, allocations: 11.97 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3235, allocations: 0 / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3235, allocations: 3.938 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3235, allocations: 11.98 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.3259, allocations: 1.047 MB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3259, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.3268, allocations: 103.8 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.3268, allocations: 11.94 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.3268, allocations: 23.92 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3269, allocations: 0 / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3269, allocations: 0 / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3293, allocations: 0.7955 MB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3295, allocations: 117 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.3295, allocations: 4 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.3303, allocations: 48 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3304, allocations: 27.92 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.3305, allocations: 23.94 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.3305, allocations: 83.27 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 4 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003834/0.3309, allocations: 52 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002199/0.3311, allocations: 112.1 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.3326, allocations: 431 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3327, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.3334, allocations: 223.7 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3338, allocations: 12.53 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.3383, allocations: 0.8082 MB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3387, allocations: 0.6967 MB / 1.031 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.3391, allocations: 79.23 kB / 1.031 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3391, allocations: 0 / 1.031 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of Templates: time 0.006424/0.3455, allocations: 3.775 MB / 1.035 GB, free: 8.367 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)