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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009565/0.0009566, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6739, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001057/0.675, allocations: 0.5101 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.6772, allocations: 1.478 MB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.6772, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.6773, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.6773, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.6779, allocations: 123.2 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.678, allocations: 47.84 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.6781, allocations: 7.984 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.6782, allocations: 23.92 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.183e-05/0.6783, allocations: 35.89 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.6783, allocations: 4 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.6788, allocations: 311.4 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.6788, allocations: 19.91 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.6789, allocations: 45.62 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.6792, allocations: 151.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6792, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6792, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.6792, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 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.0006975/0.6799, allocations: 397.4 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6799, allocations: 8.031 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004885/0.6804, allocations: 84.75 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.6806, allocations: 172.3 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.6806, allocations: 4.375 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.6806, allocations: 12.28 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.681, allocations: 125.9 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6811, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6811, allocations: 0 / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6811, allocations: 7.938 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.6816, allocations: 119.9 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.6822, allocations: 344.6 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.6829, allocations: 182.4 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.6832, allocations: 60.81 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.6832, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.6832, allocations: 42.5 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.6832, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 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.01878/0.702, allocations: 3.177 MB / 1.031 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.7021, allocations: 55.34 kB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.7022, allocations: 101.8 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.7022, allocations: 33.7 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.7023, allocations: 88.03 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.7024, allocations: 43.38 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.7025, allocations: 17.72 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.7026, allocations: 318.8 kB / 1.032 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.7033, allocations: 211.8 kB / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.7039, allocations: 227.9 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.7053, allocations: 440.5 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7054, allocations: 4 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001537/0.7069, allocations: 0.5188 MB / 1.033 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7069, allocations: 8 kB / 1.033 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7069, allocations: 1.016 kB / 1.033 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.707, allocations: 4 kB / 1.033 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.7078, allocations: 119.8 kB / 1.033 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.7078, allocations: 7.938 kB / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.7085, allocations: 59.94 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.7085, allocations: 23.94 kB / 1.033 GB, free: 5.84 MB / 0.7794 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.0001628/0.7087, allocations: 118.3 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.7088, allocations: 7.984 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.7088, allocations: 11.97 kB / 1.033 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7088, allocations: 4 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7088, allocations: 3.938 kB / 1.033 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7089, allocations: 4 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.7111, allocations: 1.101 MB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7111, allocations: 0 / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.712, allocations: 123.8 kB / 1.035 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.712, allocations: 4.031 kB / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.7121, allocations: 23.88 kB / 1.035 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7121, allocations: 0 / 1.035 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7121, allocations: 3.984 kB / 1.035 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.7145, allocations: 0.8582 MB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.7147, allocations: 124.8 kB / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.7147, allocations: 0 / 1.035 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/0.7154, allocations: 67.94 kB / 1.036 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7155, allocations: 23.92 kB / 1.036 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.7156, allocations: 27.92 kB / 1.036 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.7157, allocations: 87.28 kB / 1.036 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7157, allocations: 0 / 1.036 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003858/0.7161, allocations: 52 kB / 1.036 GB, free: 3.047 MB / 0.7794 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.0002327/0.7163, allocations: 119.2 kB / 1.036 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.7178, allocations: 475.5 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7178, allocations: 0 / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.7186, allocations: 248.1 kB / 1.037 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.7189, allocations: 10.52 kB / 1.037 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.7233, allocations: 0.9062 MB / 1.037 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.7236, allocations: 0.6965 MB / 1.038 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.724, allocations: 75.23 kB / 1.038 GB, free: 480 kB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.724, allocations: 0 / 1.038 GB, free: 480 kB / 0.7794 GB Notification: Performance of Templates: time 0.006679/0.7306, allocations: 3.797 MB / 1.042 GB, free: 12.66 MB / 0.795 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)