Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001664/0.001664, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001743/0.001743, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.05 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2703, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002561/0.2729, allocations: 0.7746 MB / 0.951 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.2752, allocations: 1.48 MB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.2753, allocations: 3.938 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.2754, allocations: 0 / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.2754, allocations: 3.938 kB / 0.9525 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.2761, allocations: 147.4 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.2762, allocations: 47.91 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.2762, allocations: 3.906 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.2763, allocations: 27.92 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.2764, allocations: 43.81 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2764, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.277, allocations: 315.4 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.277, allocations: 15.97 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.277, allocations: 27.86 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.2774, allocations: 211.5 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2774, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2774, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2774, allocations: 0 / 0.9533 GB, free: 5.742 MB / 0.7325 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.0007669/0.2782, allocations: 395.7 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2783, allocations: 8.031 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.2788, allocations: 76.84 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2789, allocations: 180.2 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.279, allocations: 4.375 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.279, allocations: 8.375 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.2794, allocations: 109.9 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2794, allocations: 0 / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2794, allocations: 15.98 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2795, allocations: 4 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.28, allocations: 91.91 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.2806, allocations: 340.5 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.2813, allocations: 150.5 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2815, allocations: 56.8 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2816, allocations: 4 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.2817, allocations: 38.5 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2817, allocations: 0 / 0.9547 GB, free: 4.129 MB / 0.7325 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.0184/0.3001, allocations: 2.826 MB / 0.9575 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.3002, allocations: 59.34 kB / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.3003, allocations: 101.8 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.3003, allocations: 25.7 kB / 0.9577 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3004, allocations: 99.98 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.3005, allocations: 35.45 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3007, allocations: 69.58 kB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3008, allocations: 310.8 kB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.3015, allocations: 195.7 kB / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.3022, allocations: 199.9 kB / 0.9585 GB, free: 88 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.3036, allocations: 396.1 kB / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3036, allocations: 0 / 0.9589 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001591/0.3052, allocations: 477.1 kB / 0.9594 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3052, allocations: 4 kB / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3052, allocations: 0 / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3053, allocations: 4.188 kB / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/0.3061, allocations: 107.8 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3061, allocations: 3.938 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.3068, allocations: 43.94 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.3069, allocations: 31.91 kB / 0.9595 GB, free: 15.04 MB / 0.7481 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.000164/0.3071, allocations: 123.8 kB / 0.9597 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.3072, allocations: 7.906 kB / 0.9597 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.3072, allocations: 7.969 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3072, allocations: 4 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3072, allocations: 3.938 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3072, allocations: 0 / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.3096, allocations: 1.058 MB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3096, allocations: 3.938 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.3104, allocations: 107.8 kB / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3104, allocations: 3.938 kB / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.3105, allocations: 27.92 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3105, allocations: 0 / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3105, allocations: 0 / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.3129, allocations: 0.7958 MB / 0.9616 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3131, allocations: 117 kB / 0.9617 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.3132, allocations: 7.984 kB / 0.9618 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.3138, allocations: 51.94 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.314, allocations: 23.92 kB / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.314, allocations: 27.94 kB / 0.9618 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.3141, allocations: 79.28 kB / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3141, allocations: 0 / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003823/0.3145, allocations: 55.98 kB / 0.962 GB, free: 12.38 MB / 0.7481 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.0002181/0.3147, allocations: 115.2 kB / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.3162, allocations: 423.5 kB / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3162, allocations: 0 / 0.9625 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007348/0.3169, allocations: 235.7 kB / 0.9627 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3173, allocations: 10.06 kB / 0.9627 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.3216, allocations: 0.7846 MB / 0.9635 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3219, allocations: 0.6963 MB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.3223, allocations: 75.23 kB / 0.9642 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.3223, allocations: 0 / 0.9642 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of Templates: time 0.006258/0.3286, allocations: 3.78 MB / 0.9679 GB, free: 6.199 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)