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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.046/2.046, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 195.4 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 109.9 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009686, allocations: 55.02 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2218, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001641/0.2235, allocations: 0.84 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2248, allocations: 1.494 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.2248, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.2249, allocations: 7.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.2249, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.2253, allocations: 119.4 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.2253, allocations: 43.97 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.2254, allocations: 4 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.2254, allocations: 23.92 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.2255, allocations: 43.81 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2255, allocations: 4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.2258, allocations: 315.3 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2258, allocations: 11.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.2259, allocations: 23.86 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.2261, allocations: 207.5 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2261, allocations: 3.938 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2261, allocations: 3.984 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.2261, allocations: 4 kB / 1.221 GB, free: 114.1 MB / 0.823 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.0004907/0.2266, allocations: 405.5 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.2267, allocations: 11.98 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.2271, allocations: 72.75 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.646e-05/0.2271, allocations: 168.3 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2272, allocations: 8.375 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2272, allocations: 4.375 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.2275, allocations: 117.9 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2275, allocations: 3.906 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2275, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2275, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.2279, allocations: 99.89 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.2284, allocations: 332.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.2289, allocations: 154.4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2291, allocations: 68.73 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2292, allocations: 4.141 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2292, allocations: 34.56 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2292, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 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.01565/0.2448, allocations: 2.834 MB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2449, allocations: 59.28 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.2449, allocations: 97.86 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.245, allocations: 25.7 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.245, allocations: 96.03 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.2451, allocations: 39.39 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.2452, allocations: 69.58 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.2452, allocations: 318.8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.2458, allocations: 191.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.2464, allocations: 187.8 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2475, allocations: 404.6 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2475, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001322/0.2489, allocations: 477 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2489, allocations: 5.406 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2489, allocations: 4 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2489, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.2496, allocations: 103.8 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2497, allocations: 4.031 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.2502, allocations: 51.88 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.2502, allocations: 31.92 kB / 1.227 GB, free: 107.4 MB / 0.823 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.0001029/0.2504, allocations: 110.5 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.2504, allocations: 4 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.2505, allocations: 7.969 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2505, allocations: 8 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2505, allocations: 3.938 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2505, allocations: 3.938 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.2523, allocations: 1.047 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2523, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.253, allocations: 107.8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.253, allocations: 3.938 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.2531, allocations: 19.94 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2531, allocations: 7.922 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2531, allocations: 4 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02043/0.2735, allocations: 3.693 MB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2737, allocations: 117 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.2737, allocations: 4.062 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.2744, allocations: 47.94 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.2745, allocations: 27.92 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.2745, allocations: 27.92 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.273e-05/0.2745, allocations: 83.28 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2745, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003951/0.2749, allocations: 56 kB / 1.233 GB, free: 101.8 MB / 0.823 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.0001644/0.2751, allocations: 115.2 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.2764, allocations: 427.5 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2764, allocations: 4 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.277, allocations: 223.7 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.2774, allocations: 11.94 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.2811, allocations: 0.9085 MB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.542e-05/0.2812, allocations: 0.6934 MB / 1.235 GB, free: 99.34 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005872/0.2818, allocations: 88.67 kB / 1.235 GB, free: 99.25 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.2821, allocations: 55.3 kB / 1.235 GB, free: 99.2 MB / 0.823 GB Notification: Performance of SimCode: time 4.01e-07/0.2821, allocations: 4 kB / 1.235 GB, free: 99.19 MB / 0.823 GB Notification: Performance of Templates: time 0.004487/0.2866, allocations: 3.481 MB / 1.239 GB, free: 95.71 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)