Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001699/0.001699, allocations: 105.4 kB / 16.36 MB, free: 6.301 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.001653/0.001653, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002732, allocations: 75.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2441, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002304/0.2464, allocations: 0.7902 MB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2485, allocations: 1.502 MB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.2486, allocations: 0 / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.2487, allocations: 7.938 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.2487, allocations: 3.938 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.2494, allocations: 147.4 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2495, allocations: 47.91 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.2495, allocations: 7.984 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.2496, allocations: 27.92 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.2497, allocations: 31.89 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2497, allocations: 11.94 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.2502, allocations: 315.4 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.2503, allocations: 23.86 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.2503, allocations: 23.84 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3533/0.6036, allocations: 211.8 kB / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.6037, allocations: 0 / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6037, allocations: 1.594 kB / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.6037, allocations: 0 / 0.7879 GB, free: 46.77 MB / 0.6544 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.0007618/0.6045, allocations: 396.9 kB / 0.7882 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6045, allocations: 7.969 kB / 0.7882 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.605, allocations: 72.47 kB / 0.7883 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6051, allocations: 170.3 kB / 0.7885 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.6052, allocations: 11.25 kB / 0.7885 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.6052, allocations: 9.781 kB / 0.7885 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.6056, allocations: 111.2 kB / 0.7886 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6057, allocations: 7.844 kB / 0.7886 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.6057, allocations: 3.938 kB / 0.7886 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6057, allocations: 2.719 kB / 0.7886 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.6062, allocations: 97.92 kB / 0.7887 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.6067, allocations: 331.2 kB / 0.789 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.6074, allocations: 158.8 kB / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.6076, allocations: 61.27 kB / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.6076, allocations: 0 / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.6076, allocations: 33.25 kB / 0.7893 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6076, allocations: 2 kB / 0.7893 GB, free: 45.84 MB / 0.6544 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.01732/0.625, allocations: 2.829 MB / 0.792 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.6251, allocations: 62.19 kB / 0.7921 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.6251, allocations: 98.89 kB / 0.7922 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.6252, allocations: 29.58 kB / 0.7922 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.6253, allocations: 90.59 kB / 0.7923 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.6253, allocations: 44.42 kB / 0.7923 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.6255, allocations: 67.86 kB / 0.7924 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.6256, allocations: 318 kB / 0.7927 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.6262, allocations: 191.1 kB / 0.7929 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.6268, allocations: 192.5 kB / 0.7931 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.628, allocations: 396.9 kB / 0.7935 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6281, allocations: 4.219 kB / 0.7935 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001455/0.6295, allocations: 477.8 kB / 0.7939 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6295, allocations: 3.406 kB / 0.7939 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6296, allocations: 3.5 kB / 0.7939 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.6296, allocations: 0 / 0.7939 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.6304, allocations: 108 kB / 0.794 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6304, allocations: 3.938 kB / 0.794 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.631, allocations: 49.45 kB / 0.7941 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.6311, allocations: 27.3 kB / 0.7941 GB, free: 44.61 MB / 0.6544 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.0001378/0.6312, allocations: 115.3 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.6313, allocations: 4.719 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.6314, allocations: 15.44 kB / 0.7942 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6314, allocations: 7.422 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6314, allocations: 7.438 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6314, allocations: 0 / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.6335, allocations: 1.04 MB / 0.7953 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6335, allocations: 0 / 0.7953 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/0.6343, allocations: 108 kB / 0.7954 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.6343, allocations: 3.938 kB / 0.7954 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.6343, allocations: 24.81 kB / 0.7954 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.6344, allocations: 7.344 kB / 0.7954 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.6344, allocations: 0.7031 kB / 0.7954 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.6366, allocations: 0.7841 MB / 0.7962 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6367, allocations: 117.6 kB / 0.7963 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.6368, allocations: 10.78 kB / 0.7963 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/0.6375, allocations: 48.28 kB / 0.7963 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6376, allocations: 25.2 kB / 0.7964 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.6377, allocations: 26.36 kB / 0.7964 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.6377, allocations: 83.75 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.504e-06/0.6377, allocations: 2.875 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003988/0.6381, allocations: 57.08 kB / 0.7965 GB, free: 43.61 MB / 0.6544 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.0002139/0.6383, allocations: 116.5 kB / 0.7966 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.6398, allocations: 423.4 kB / 0.797 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6398, allocations: 0 / 0.797 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.6406, allocations: 224.2 kB / 0.7972 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.6409, allocations: 9.922 kB / 0.7973 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.6452, allocations: 0.7758 MB / 0.798 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.6453, allocations: 0.6982 MB / 0.7987 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.6458, allocations: 77.56 kB / 0.7988 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.6458, allocations: 0 / 0.7988 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.007413/0.6532, allocations: 3.775 MB / 0.8025 GB, free: 42.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)