Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.632/1.632, allocations: 287.5 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 176.9 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.28 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004224, allocations: 13.34 kB / 0.8661 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008855/0.2426, allocations: 0.5009 MB / 0.9792 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2441, allocations: 1.437 MB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.2442, allocations: 0 / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.2442, allocations: 3.938 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.2442, allocations: 7.984 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.2447, allocations: 108.5 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.2448, allocations: 43.91 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.2448, allocations: 3.984 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.2449, allocations: 23.92 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.245, allocations: 35.89 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.245, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.2454, allocations: 315.3 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.2454, allocations: 7.984 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.2454, allocations: 37.64 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.2457, allocations: 144 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2457, allocations: 0 / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2457, allocations: 0 / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2457, allocations: 4 kB / 0.9813 GB, free: 25.49 MB / 0.6198 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.000526/0.2462, allocations: 397.8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2463, allocations: 8.031 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.2467, allocations: 88.75 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/0.2468, allocations: 164.4 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.2468, allocations: 8.312 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.2469, allocations: 8.375 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.2472, allocations: 125.9 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2472, allocations: 4 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2473, allocations: 8 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2473, allocations: 0 / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.2477, allocations: 124.6 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2482, allocations: 344.5 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.2488, allocations: 182.4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2491, allocations: 72.75 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2491, allocations: 0 / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2491, allocations: 30.56 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.2491, allocations: 4 kB / 0.9828 GB, free: 23.79 MB / 0.6198 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.01748/0.2666, allocations: 3.178 MB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2667, allocations: 63.33 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.2668, allocations: 97.86 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.2668, allocations: 29.7 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.2669, allocations: 92.06 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.2669, allocations: 35.38 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.267, allocations: 0 / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.267, allocations: 322.8 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.2676, allocations: 211.8 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.2682, allocations: 221.4 kB / 0.9869 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2694, allocations: 444.5 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2695, allocations: 0 / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001382/0.2708, allocations: 0.522 MB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2709, allocations: 4 kB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2709, allocations: 4 kB / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2709, allocations: 0 / 0.9879 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2717, allocations: 119.8 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.2717, allocations: 3.938 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.2723, allocations: 59.94 kB / 0.988 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.2724, allocations: 27.92 kB / 0.9881 GB, free: 18.25 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.2725, allocations: 121.8 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.2726, allocations: 7.906 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.2727, allocations: 7.969 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2727, allocations: 0 / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2727, allocations: 3.938 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.2727, allocations: 3.984 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.2746, allocations: 1.098 MB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2746, allocations: 0 / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.2754, allocations: 119.7 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2754, allocations: 8.125 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.2755, allocations: 32.02 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2755, allocations: 4.953 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2755, allocations: 0 / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.2775, allocations: 0.8739 MB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2777, allocations: 117 kB / 0.9904 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.2777, allocations: 4 kB / 0.9904 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.2784, allocations: 56 kB / 0.9905 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.2785, allocations: 27.92 kB / 0.9905 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.2785, allocations: 27.94 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.2786, allocations: 79.27 kB / 0.9906 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2786, allocations: 3.938 kB / 0.9906 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003444/0.2789, allocations: 60 kB / 0.9906 GB, free: 15.45 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.2791, allocations: 103.2 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.2805, allocations: 476.4 kB / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2805, allocations: 0 / 0.9912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.2812, allocations: 251.7 kB / 0.9914 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.2816, allocations: 8 kB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.2856, allocations: 0.8694 MB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2857, allocations: 0.6926 MB / 0.993 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006647/0.2864, allocations: 88.67 kB / 0.9931 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.2866, allocations: 59.3 kB / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2866, allocations: 0 / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.005454/0.2921, allocations: 3.243 MB / 0.9963 GB, free: 9.613 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)