Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001148/0.001148, allocations: 190.4 kB / 376.9 MB, free: 1.781 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.336/1.336, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009403/0.0009406, allocations: 99.25 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2424, allocations: 114.6 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00201/0.2445, allocations: 0.6744 MB / 0.9829 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.247, allocations: 1.502 MB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.2471, allocations: 0 / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2471, allocations: 0 / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.2471, allocations: 0 / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.2477, allocations: 115.7 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.2477, allocations: 31.91 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.2478, allocations: 0 / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.2478, allocations: 15.98 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.2479, allocations: 23.97 kB / 0.9845 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2479, allocations: 3.938 kB / 0.9845 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.2484, allocations: 327.3 kB / 0.9849 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2484, allocations: 4 kB / 0.9849 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.2485, allocations: 7.984 kB / 0.9849 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.2488, allocations: 191.6 kB / 0.985 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2488, allocations: 0 / 0.985 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2488, allocations: 4 kB / 0.9851 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2488, allocations: 0 / 0.9851 GB, free: 7.453 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006102/0.2494, allocations: 367.7 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2495, allocations: 8.031 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.25, allocations: 68.84 kB / 0.9855 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2501, allocations: 164.4 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2501, allocations: 384 / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.2501, allocations: 8.375 kB / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2504, allocations: 81.88 kB / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2504, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2504, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2505, allocations: 4 kB / 0.9857 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.2507, allocations: 63.88 kB / 0.9858 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.2509, allocations: 165.7 kB / 0.9859 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.2515, allocations: 122.6 kB / 0.9861 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.2517, allocations: 44.92 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.2521, allocations: 157 kB / 0.9863 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2522, allocations: 34.5 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2522, allocations: 0 / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001117/0.2533, allocations: 406.1 kB / 0.9867 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2533, allocations: 55.41 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.2534, allocations: 97.86 kB / 0.9868 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2534, allocations: 29.7 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.2535, allocations: 80.14 kB / 0.9869 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2535, allocations: 23.64 kB / 0.9869 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2535, allocations: 21.72 kB / 0.987 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.2536, allocations: 318.8 kB / 0.9873 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2538, allocations: 36.09 kB / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.254, allocations: 35.97 kB / 0.9873 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2542, allocations: 76.98 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2543, allocations: 0 / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000345/0.2546, allocations: 121.5 kB / 0.9875 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2546, allocations: 8 kB / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2547, allocations: 0 / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2547, allocations: 336 / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.2548, allocations: 23.98 kB / 0.9876 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2548, allocations: 0 / 0.9876 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.2549, allocations: 15.97 kB / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.255, allocations: 4 kB / 0.9876 GB, free: 4.578 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 7.706e-05/0.255, allocations: 109.8 kB / 0.9877 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.2551, allocations: 11.86 kB / 0.9877 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.2555, allocations: 141.1 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2555, allocations: 3.938 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2555, allocations: 0 / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2555, allocations: 0 / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2557, allocations: 165.7 kB / 0.988 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2557, allocations: 0 / 0.988 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.2558, allocations: 31.92 kB / 0.988 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2558, allocations: 0 / 0.988 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2559, allocations: 3.984 kB / 0.988 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2559, allocations: 0 / 0.988 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2559, allocations: 0 / 0.988 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.2598, allocations: 1.418 MB / 0.9894 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.2598, allocations: 85.09 kB / 0.9895 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2598, allocations: 4.031 kB / 0.9895 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.26, allocations: 11.98 kB / 0.9895 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.26, allocations: 3.984 kB / 0.9895 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.26, allocations: 8.062 kB / 0.9895 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.2601, allocations: 79.28 kB / 0.9896 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2601, allocations: 0 / 0.9896 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003173/0.2604, allocations: 35.98 kB / 0.9896 GB, free: 2.254 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002087/0.2606, allocations: 131.1 kB / 0.9898 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.261, allocations: 88.02 kB / 0.9898 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.261, allocations: 0 / 0.9898 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2611, allocations: 43.97 kB / 0.9899 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.2613, allocations: 0 / 0.9899 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.262, allocations: 313.9 kB / 0.9902 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2622, allocations: 0.6809 MB / 0.9908 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.2623, allocations: 19.98 kB / 0.9909 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2624, allocations: 11.44 kB / 0.9909 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2624, allocations: 4 kB / 0.9909 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of Templates: time 0.003084/0.2655, allocations: 1.15 MB / 0.992 GB, free: 15.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)