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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001091/0.001091, allocations: 98.88 kB / 16.02 MB, free: 76 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.001447/0.001447, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7146, allocations: 142.4 MB / 0.9557 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001075/0.7157, allocations: 0.5122 MB / 0.9562 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.7176, allocations: 1.474 MB / 0.9576 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.7176, allocations: 1.188 kB / 0.9576 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.7176, allocations: 7.938 kB / 0.9577 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.7177, allocations: 0 / 0.9577 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.7181, allocations: 113.1 kB / 0.9578 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.7182, allocations: 52.05 kB / 0.9578 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.7182, allocations: 3.406 kB / 0.9578 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.7183, allocations: 23.11 kB / 0.9578 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.7184, allocations: 40.8 kB / 0.9579 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.7184, allocations: 3.406 kB / 0.9579 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.7188, allocations: 318.4 kB / 0.9582 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.7188, allocations: 13.88 kB / 0.9582 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.7189, allocations: 47.62 kB / 0.9582 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.7191, allocations: 143.4 kB / 0.9584 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7191, allocations: 0 / 0.9584 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7191, allocations: 0 / 0.9584 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7191, allocations: 4 kB / 0.9584 GB, free: 5.84 MB / 0.7169 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.0005534/0.7197, allocations: 395.5 kB / 0.9588 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7197, allocations: 9.781 kB / 0.9588 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.7202, allocations: 93.59 kB / 0.9589 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.7203, allocations: 166.1 kB / 0.959 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.7203, allocations: 7.938 kB / 0.959 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.7203, allocations: 13.69 kB / 0.959 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.7207, allocations: 131 kB / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7208, allocations: 0 / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.7208, allocations: 1.375 kB / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7208, allocations: 1.375 kB / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.7213, allocations: 126.3 kB / 0.9593 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.7219, allocations: 334.1 kB / 0.9596 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.7225, allocations: 190 kB / 0.9598 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.7228, allocations: 63.91 kB / 0.9598 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.7228, allocations: 5.281 kB / 0.9599 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.7228, allocations: 31.72 kB / 0.9599 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.7228, allocations: 0 / 0.9599 GB, free: 4.566 MB / 0.7169 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.01916/0.742, allocations: 3.19 MB / 0.963 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.7421, allocations: 60.75 kB / 0.9631 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.7422, allocations: 99.39 kB / 0.9632 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.7422, allocations: 30.67 kB / 0.9632 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.7423, allocations: 89.31 kB / 0.9633 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.7423, allocations: 45.02 kB / 0.9633 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.7424, allocations: 16.91 kB / 0.9633 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.7425, allocations: 320.2 kB / 0.9636 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/0.7431, allocations: 216.2 kB / 0.9638 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.7438, allocations: 217.5 kB / 0.964 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.7452, allocations: 437.6 kB / 0.9645 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.7452, allocations: 0 / 0.9645 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001599/0.7468, allocations: 0.5253 MB / 0.965 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.7469, allocations: 6.875 kB / 0.965 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7469, allocations: 0 / 0.965 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.7469, allocations: 0.9688 kB / 0.965 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/0.7478, allocations: 120.6 kB / 0.9651 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7478, allocations: 4.938 kB / 0.9651 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.7484, allocations: 60.56 kB / 0.9652 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.7485, allocations: 22.22 kB / 0.9652 GB, free: 1.391 MB / 0.7169 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.000154/0.7487, allocations: 121.6 kB / 0.9653 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.7487, allocations: 6.906 kB / 0.9653 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.7488, allocations: 16.81 kB / 0.9653 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.7488, allocations: 1.938 kB / 0.9653 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7488, allocations: 3.938 kB / 0.9653 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7488, allocations: 0 / 0.9653 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.751, allocations: 1.099 MB / 0.9664 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.751, allocations: 1.062 kB / 0.9664 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.7518, allocations: 124.6 kB / 0.9665 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.7518, allocations: 3.938 kB / 0.9665 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.7519, allocations: 25.03 kB / 0.9665 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.7519, allocations: 4.672 kB / 0.9665 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7519, allocations: 5 kB / 0.9666 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.7544, allocations: 0.858 MB / 0.9674 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.7546, allocations: 120.2 kB / 0.9675 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.7546, allocations: 9.25 kB / 0.9675 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.7554, allocations: 61.38 kB / 0.9676 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.684e-05/0.7555, allocations: 26.52 kB / 0.9676 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.7556, allocations: 26.58 kB / 0.9676 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.748e-05/0.7556, allocations: 82.84 kB / 0.9677 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7556, allocations: 0 / 0.9677 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004067/0.756, allocations: 58.58 kB / 0.9678 GB, free: 15.46 MB / 0.7325 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.0002305/0.7563, allocations: 108.5 kB / 0.9679 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.7579, allocations: 477 kB / 0.9683 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7579, allocations: 5.031 kB / 0.9683 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.7587, allocations: 250.9 kB / 0.9686 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.7591, allocations: 7.75 kB / 0.9686 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.7637, allocations: 0.8956 MB / 0.9694 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.764, allocations: 0.6942 MB / 0.9701 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.7644, allocations: 84.5 kB / 0.9702 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.7644, allocations: 0 / 0.9702 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.006357/0.7708, allocations: 3.788 MB / 0.9739 GB, free: 11.66 MB / 0.7325 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)