Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001473/0.001473, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001712/0.001712, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.88 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9118, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002005/0.9138, allocations: 0.7852 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.9158, allocations: 1.481 MB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.9159, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.9159, allocations: 3.938 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.916, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.9165, allocations: 139.5 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.9166, allocations: 51.89 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.9166, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.9167, allocations: 27.92 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.9168, allocations: 35.81 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.9168, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.9173, allocations: 315.4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.9173, allocations: 23.97 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.9174, allocations: 23.86 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.9177, allocations: 207.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9177, allocations: 3.984 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9177, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9177, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 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.0006183/0.9183, allocations: 395.2 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.9184, allocations: 8.031 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.9188, allocations: 72.75 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.919, allocations: 182.1 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.919, allocations: 4.375 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.919, allocations: 16.31 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.9194, allocations: 109.9 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9194, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9195, allocations: 3.938 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9195, allocations: 7.984 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.92, allocations: 103.8 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.9206, allocations: 332.6 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.9212, allocations: 154.4 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.9215, allocations: 60.8 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.9215, allocations: 0 / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.9215, allocations: 34.56 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.9215, allocations: 0 / 1.213 GB, free: 8.891 MB / 0.9356 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.9403, allocations: 2.849 MB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.9404, allocations: 59.34 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9405, allocations: 97.84 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.9406, allocations: 29.7 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.9406, allocations: 91.98 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.9407, allocations: 39.45 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.9409, allocations: 69.58 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.941, allocations: 314.8 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/0.9417, allocations: 187.8 kB / 1.217 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.9424, allocations: 199.7 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.9438, allocations: 396 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9438, allocations: 0 / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00157/0.9454, allocations: 473.3 kB / 1.218 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9454, allocations: 5.719 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9454, allocations: 4 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9454, allocations: 0 / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.9463, allocations: 107.7 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.9463, allocations: 3.938 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.947, allocations: 51.94 kB / 1.218 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.947, allocations: 23.92 kB / 1.218 GB, free: 3.785 MB / 0.9356 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.0001577/0.9472, allocations: 117.8 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.9473, allocations: 7.906 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.9474, allocations: 11.97 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9474, allocations: 0 / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9474, allocations: 3.938 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9474, allocations: 4 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.9496, allocations: 1.051 MB / 1.219 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9496, allocations: 0 / 1.219 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.9504, allocations: 99.89 kB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.9505, allocations: 11.88 kB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.9505, allocations: 35.92 kB / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9505, allocations: 0 / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9505, allocations: 0 / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.9529, allocations: 0.7916 MB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.9531, allocations: 116.9 kB / 1.22 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.9531, allocations: 11.98 kB / 1.22 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/0.9539, allocations: 40 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.954, allocations: 31.92 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.954, allocations: 27.94 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.9541, allocations: 75.28 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9541, allocations: 0 / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003695/0.9544, allocations: 56 kB / 1.22 GB, free: 1.137 MB / 0.9356 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.00019/0.9546, allocations: 107.2 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.9561, allocations: 431.4 kB / 1.221 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9561, allocations: 0 / 1.221 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.9569, allocations: 223.7 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.9572, allocations: 13.7 kB / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.9615, allocations: 0.777 MB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.9618, allocations: 0.6924 MB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.9622, allocations: 79.23 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.9622, allocations: 0 / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.006379/0.9686, allocations: 3.78 MB / 1.226 GB, free: 10.98 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)